This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> > LD_RUN_PATH="/usr/local/mysql/lib/mysql:/lib/pa1.1:/usr/local/lib/gcc-lib/h > pp > > a1.1-hp-hpux10.20/egcs-2.91.66" ld -o ../blib/arch/auto/DBD/mysql/mysql.sl > - > > b -L/usr/local/lib dbdimp.o mysql.o -L/usr/local/mysql/lib/mysql -L/usr/ > lo > > cal/mysql/lib/mysql -lmysqlclient -lm -L/usr/local/lib/gcc-lib/hppa1.1-hp-h > pu > > x10.20/egcs-2.91.66 -lgcc > > > > Did you try using gcc to create the shared library? eg: > > LD_RUN_PATH="/usr/local/mysql/lib/mysql:/lib/pa1.1" gcc -o mysql.sl -shared - > L/usr/local/lib dbimp.o mysql.o -L/usr/local/mysql/lib/mysql -lmysqlclient - > lm > > or something similar... (oops) 1) forgot the -fPIC flag in the command line 2) not even sure this will work :)