Date: 01/04/01
- Next message: Cynic: "[PHP-DEV] 4.0.4pl1 RC1 compile failure"
- Previous message: c.schmidt-koester <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Maybe in reply to: Sam Liddicott: "[PHP-DEV] can libphp4.so use static libs?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>]
> Sent: Thursday, January 04, 2001 03:32
> To: php-dev <email protected>
> 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 <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail:
> php-list-admin <email protected>
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Cynic: "[PHP-DEV] 4.0.4pl1 RC1 compile failure"
- Previous message: c.schmidt-koester <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Maybe in reply to: Sam Liddicott: "[PHP-DEV] can libphp4.so use static libs?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

