undefined reference to `atexit'

2001-04-16 Thread Oliver Elphick
Can anyone offer a solution for this: gcc -pipe -L /home/olly/mypackages/eiflibs/eifpgsql/C -L /home/olly/mypackages/eiflibs/datetime/C edbgen1.o edbgen2.o edbgen3.o edbgen4.o -lgdk -lgtk -leifutils -leifpq -lpq /usr/lib/libcrypto.so.0.9.6: undefined reference to `atexit' collect2: ld returned

Re: undefined reference to `atexit'

2001-04-16 Thread D-Man
/lib/libcrypto.so.0.9.6: undefined reference to `atexit' | collect2: ld returned 1 exit status | | But if I compile a very small program that calls atexit() directly, it has | no problem finding it, even though I specify no library at all. | As far as I can see, atexit() is part of libc6

Re: undefined reference to `atexit'

2001-04-16 Thread Ben Collins
/libcrypto.so.0.9.6: undefined reference to `atexit' collect2: ld returned 1 exit status The libssl (libcrypto) was compiled with a buggy version of gcc. It needs to be recompiled. The version in unstable and (afaik) woody, are ok (2.95.3-9 or later