undefined reference to `atexit'
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 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.
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"But seek ye first the kingdom of God, and his
righteousness; and all these things shall be added
unto you." Matthew 6:33
Reply to: