[dpdk-dev] [PATCH] eal: do not try to load library with a local pathname

2014-04-18 Thread Thomas Monjalon
> > When loading a library "libfoo.so" (depending on "libbar.so", located in > > an > > entirely different folder), with a LD_LIBRARY_PATH=/path/to/libfoo.so", it > > > > returns an error: > > EAL: ./libfoo.so: cannot open shared object file: No such file or > > directory > > > > If the first d

[dpdk-dev] [PATCH] eal: do not try to load library with a local pathname

2014-04-15 Thread David Marchand
From: Pascal Mazon When loading a library "libfoo.so" (depending on "libbar.so", located in an entirely different folder), with a LD_LIBRARY_PATH=/path/to/libfoo.so", it returns an error: EAL: ./libfoo.so: cannot open shared object file: No such file or directory If the first dlopen() fails (h

[dpdk-dev] [PATCH] eal: do not try to load library with a local pathname

2014-04-15 Thread Neil Horman
On Tue, Apr 15, 2014 at 03:50:22PM +0200, David Marchand wrote: > From: Pascal Mazon > > When loading a library "libfoo.so" (depending on "libbar.so", located in an > entirely different folder), with a LD_LIBRARY_PATH=/path/to/libfoo.so", it > returns an error: > > EAL: ./libfoo.so: cannot open