RE: [PHP-DEV] can libphp4.so use static libs?

From: Date: Thu, 04 Jan 2001 15:46:18 +0000
Subject: RE: [PHP-DEV] can libphp4.so use static libs?
Groups: php.dev 
Request: Send a blank email to php-dev+get-42939@lists.php.net to get a copy of this message
Gah! After wasting a day and breaking open the .a file to make a shared lib I find I was using the 80386 libs instead of the sparc libs! Shame the build process didn't complain - I though libtool was good at that! Still, alls well that ends well! Sam > -----Original Message----- > From: Sam Liddicott [mailto:sam.liddicott@ananova.com] > Sent: Thursday, January 04, 2001 03:32 > To: php-dev@lists.php.net > Subject: [PHP-DEV] can libphp4.so use static libs? > > > I have a case where my muscat php module which requires a > static muscat lib > (libhdmuscat.3.6) to be linked into libphp4.so > > This works fine. > > Yet on another system: > > nm -Algn libphp4.so > > lists 4 unresolved symbols which should have been linked to > libhdmuscat.3.6 > > hdmuscat.3.6 is listed in the .la files properly along with > all the required > paths. > > Both systems are solaris 2.7 with latest m4,automake,autoconf,libtool. > > One has egcs 1.1.2 and the other gcc 1.95.1 a few months later. > The gcc system fails; the egcs works, as far as I can tell it > is the only > difference. > > The linker is trying to use hdmuscat because if I move it > before final link, > it complains. > > Should this work? Or should I try and build a shared library out of > hdmuscat (can I) and work that way? > > Sam > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.dev (#42939) next »