Date: Thu, 14 Aug 2008 15:03:32 -0700 (PDT) From: Oancea Ionut-Francisc <jean_francois666@yahoo.com> To: freebsd-questions@freebsd.org Cc: ionut.oancea@avira.com Subject: $ORIGIN problem in freebsd 6.2 Message-ID: <864503.47214.qm@web31301.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi all, =A0 =A0=A0 I have a problem with the runtime library linking on freebsd6.2_= ix86... My executable file is linked to the others shared libraries (on com= pile time) and for the runtime, rpath was set to $ORIGIN( i checked this an= d with 'readelf' utility). Now, the issue is why, when i try to run my exec= utable, the shared libraries cannot be found although all needed libraries = are in the same path to the executable?The same thing result and after runn= ing 'ldd myexecutable' command, none library is find... I realize that the = $ORIGIN variable is ignored or unknown after I change the rpath with the en= tire path to the shared libraries and then everything goes properly. =A0=A0=A0=A0=A0 Is here another solution to set up the search path to the s= ame dir with the executable?...or I must to update my /libexec/ld-elf.so.1 = and my 'ld' utility(the version of ld is 2.15) Thanks =0A=0A=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864503.47214.qm>