Package: libpq-dev Version: 9.1.9-0wheezy1 Severity: important Dear reader,
I have just installed libpq-dev on a fresh wheezy install (amd64), and building against it fails as follows: $ cc -shared -o pgsql.so pgsql.o `pkg-config --cflags libSystem` -L `pg_config --libdir` -Wl,-rpath,`pg_config --libdir` `pg_config --libs` -lpq /usr/bin/ld: cannot find -lxslt /usr/bin/ld: cannot find -lpam /usr/bin/ld: cannot find -ledit collect2: error: ld returned 1 exit status *** Error code 1 Installing the following packages solved the issue: * libedit-dev * libpam0g-dev * libxslt1-dev FTR the output of `pg_config --libs` is as follows: -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lkrb5 -lcom_err -lgssapi_krb5 -lz -ledit -lcrypt -ldl -lm (so it could be more dependencies are required) I am flagging this bug as "important" since building against libpq is the main purpose of this package, and simply doesn't work by default. The following system information doesn't apply for this bug report. Best, -- Pierre Pronchery -- System Information: Debian Release: 6.0.7 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-028stab095.1 (SMP w/1 CPU core) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org