On Wed, 5 Mar 2003, dhgood wrote:

> I installed 9.1rc2 and compupic. I still get a segmentation fault on
> loading the program from the command line. Could it be because glibc is
> now 2.3.1 while 9.0 used 2.2.5?

Try the following, independently:

1) LD_ASSUME_KERNEL=2.2.5 <your application>. This will make sure to load 
only i586 libraries, just in case there is a problem with the i686 ones.

2) Download this file: libc.so.6 from
<http://people.mandrakesoft.com/~gbeauchesne/glibc/>
Then LD_LIBRARY_PATH=<full directory path where the file is> <your app>

If it works, then this is a program bug and your Software vendor
(Compupic?) has to fix it, if you paid for. Generally, they simply have to
rebuild the application and make sure they don't reference any errno or
_res symbol directly. Nowadays (with recent glibc), the linker simply
yells out.

If it doesn't, then make sure the test library was actually loaded. Two 
things:

1) LD_LIBRARY_PATH=<full directory path where the file is> ldd <your app>,
if this is a dynamically linked executable. This should show the new
library.

2) LD_LIBRARY_PATH=<full directory path where the file is> strace -eopen 
<your app>, if this is a statically linked executable. You should check 
that the new library is open'ed.


Reply via email to