libpq.so.2.1 seems to be a bundle, not a shared library

peter% file libpq.so.2.1
libpq.so.2.1: Mach-O bundle ppc

I guess it is this way for a reason, i.e. in order to be dlopenable.


libtool gives these errors because it cannot find a dylib 
version of the library to link against, you can tell it not to 
check, by editing configure, and changing the 
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked 
shared library'
to
lt_cv_deplibs_check_method=pass_all
in php's configure script. Note that this may well cause other 
problems, because libtool will know nothing about which 
libraries libpq.a depends upon.

hth,
Peter



On Tuesday, May 7, 2002, at 09:51  AM, Gary Kerbaugh wrote:

> Hi Guys,
>
>     I was trying to compile PHP with PostgreSQL support. I tried adding
> --with-pgsql=%p and --with-pgsql=shared,%p to the 
> ConfigureParams. The later
> allowed it to compile but both resulted in the following 
> compiler warning:
>
> *** Warning: This library needs some functionality provided by -lpq.
> *** I have the capability to make that library automatically 
> link in when
>
>
>     PostgreSQL produced the following libraries:
>
> libpq.a
> libpq.so.2.1
>
> I assume that the latter is meant to be a shared library but of 
> course, it's
> not a dylib. Is that the problem? If so, can anyone suggest a 
> change I can
> make to the Fink .info file for PostgreSQL to coerce it into 
> producing a
> dylib? Otherwise, do you have any other suggestions?
> --


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to