Hi,
 
I have a problem to compile sqwebmail. I get following error message
 
c++  -g -O2  -o testgdbm  testgdbm.o libgdbmobj.a -lgdbm
/usr/i486-glibc20-linux/i486-glibc20-linux/bin/ld.real: cannot open -lgdbm: No such file or directory
collect2: ld returned 1 exit status
 
When i add the /usr/lib directory to the compile Options I get the following error:
 
lisa:/usr/src/sqwebmail-1.0.2/gdbmobj # c++ -g -O2 -o testgdbm testgdbm.o libgdbmobj.a -L/usr/lib -lgdbm
/usr/lib/libgdbm.so: undefined reference to `atexit@@GLIBC_2.0'
/usr/lib/libgdbm.so: undefined reference to `rename@@GLIBC_2.0'
/usr/lib/libgdbm.so: undefined reference to `bcopy@@GLIBC_2.0'
/usr/lib/libgdbm.so: undefined reference to `__xstat@@GLIBC_2.0'
/usr/lib/libgdbm.so: undefined reference to `__fxstat@@GLIBC_2.0'
/usr/lib/libgdbm.so: undefined reference to `strcat@@GLIBC_2.0'
/usr/lib/libgdbm.so: undefined reference to `__environ@@GLIBC_2.0'
/usr/lib/libgdbm.so: undefined reference to `exit@@GLIBC_2.0'
/usr/lib/libgdbm.so: undefined reference to `strcpy@@GLIBC_2.0'
 
My compiler is:
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
 
Has anybody a suggestion ?
 
Bye
 
Stefan

Reply via email to