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
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module pgsql.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

    After PHP compiled, I tested it with phpPgAdmin but that app complained
that PHP was not built with PostgreSQL support. I'm trying to learn PHP so
the only way I have to test the PHP install is a third party app like
phpPgAdmin. You all know me; it's entirely possible that I haven't
configured phpPgAdmin correctly. However, I got different error messages
before I got this far. I'll assume for the rest of this post that PHP really
wasn't built with PostgreSQL support.

    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?
-- 
Gary Kerbaugh
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~
"I have six locks on my door, all in a row. When I go out, I
lock every other one. I figure no matter how long somebody
stands there picking the locks, they are always locking
three." -Elayne Boosler 


_______________________________________________________________

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