← Back to team overview

yade-dev team mailing list archive

Re: General assistance

 

> root@engs-018383:/usr/local/lib# ar -x libopt.a
> root@engs-018383:/usr/local/lib# g++ -shared -fPIC *.o -o libopt.so
> /usr/bin/ld: dqrdc.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> dqrdc.o: could not read symbols: Bad value
The .a files you extracted from the libe are already compiled without
-fPIC. You have to compile from _sources_.
> May I know which "key words" in the configure file should I look whether I can create a shared library?  It's not mentioned in the installation instructions.  Thanks, Vaclav, for helping me out.
shared, dynamic, ...? But it depends whether they support such option in
their build process. You will be better of building it yourself.

v





Follow ups

References