https://bugzilla.novell.com/show_bug.cgi?id=361431
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=361431#c14
Peter Poeml changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #14 from Peter Poeml 2008-06-16 03:43:26 MDT ---
Okay, I read it now. So you basically say, that every software which
tries to use pg_config --libs is broken, and they should not use
pg_config at all?
We are a distributor, we should cater for that.
The fact that other projects *do* use pg_config indicates that this works
somehow, just not in our evironment. For example, when I build Apache, I run
into this problem. It is hardly imaginable that Apache can't be built
anywhere... ;)
I have an example here for how I deal with that situation (or a situation that
I believe is similar) in the Apache Portable runtime:
% apr-1-config --libs
-lrt -lcrypt -lpthread -ldl
% apu-1-config --libs
-lldap -llber -ldb-4.3 -lexpat
If I wouldn't have fixed it, apu-1-config would list mysql library, postgresql,
sqlite in addition. Although that functionality lives in separate DSO modules
which are not used normally. It would be useless to link against mysql and
postgresql libs in every application using apr or apr-util.
Could you not just ditch that stuff from pg_config?
Or maybe remove it... because in a build system I have no way of removing it...
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.