[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

freed bsd libraries

I'm attempting to build a database driver for aolserver.  The library is
for "FreeBSD".

bash-2.04$ gcc -shared -o nssolid.so nssolid.o /raid/solid/lib/socfex35.a 
ld: /raid/solid/lib/socfex35.a(): bad magic
collect2: ld returned 1 exit status

bash-2.04$ file /raid/solid/lib/socfex35.a
/raid/solid/lib/socfex35.a: current ar archive

(btw OpenBSD www 2.7 GENERIC#25 i386)

Do I need to do something to convert the .a, or perhaps a different way to