[Postfixbuch-users] postfix auf HP-UX 11.11 kompilieren: libpcre wird nicht gefunden

Alexander Skwar listen at alexander.skwar.name
Mo Nov 28 14:59:17 CET 2005


Hallo.

Ich habe z.Zt. mit postfix 2.2.5 folgendes Problem auf HP-UX 11.11:

        gcc -Wmissing-prototypes -Wformat -DDEF_README_DIR=/usr/local/share/doc/postfix/README_FILES -DDEF_HTML_DIR=/usr/local/share/doc/postfix/HTML -DHAS_PCRE
-I/usr/local/include -g -O -I. -I../../include -DHPUX11 -o master master.o master_conf.o master_ent.o master_sig.o master_avail.o  master_spawn.o master_service.o
master_status.o master_listen.o  master_vars.o master_wakeup.o master_flow.o ../../lib/libglobal.a ../../lib/libutil.a -L/usr/local/lib -lpcre -lnsl
ld: Can't find library for -lpcre
Fatal error.
collect2: ld gab 1 als Ende-Status zurck
*** Fehlerrckkehrcode 1

Stopp.
*** Fehlerrckkehrcode 1

Stopp.

Warum wird die pcre Lib nicht gefunden? In /usr/local/lib
gibt es:

[11:27:28 vz6tml at dewuib07:~/Source/postfix-2.2.5] $ ls -la /usr/local/lib/*pcre*
-rw-r--r--  1 root sys  50154 2005-11-22 17:20 /usr/local/lib/libpcrecpp.a
-rwxr-xr-x  1 root sys   1049 2005-11-22 17:20 /usr/local/lib/libpcrecpp.la
-r-xr-xr-x  1 root sys 189928 2005-11-22 17:20 /usr/local/lib/libpcrecpp.sl
-rw-r--r--  1 root sys   8584 2005-11-22 17:20 /usr/local/lib/libpcreposix.a
-rwxr-xr-x  1 root sys    811 2005-11-22 17:20 /usr/local/lib/libpcreposix.la
-r-xr-xr-x  1 root sys  12288 2005-11-22 17:20 /usr/local/lib/libpcreposix.sl
-rw-r--r--  1 root sys 187246 2005-11-22 17:20 /usr/local/lib/libpcre.a
-rwxr-xr-x  1 root sys    760 2005-11-22 17:20 /usr/local/lib/libpcre.la
-r-xr-xr-x  1 root sys 176128 2005-11-22 17:20 /usr/local/lib/libpcre.sl

[11:29:34 vz6tml at dewuib07:~/Source/postfix-2.2.5] $ gcc -v
Es werden eingebaute Spezifikationen verwendet.
Ziel: hppa64-hp-hpux11.11
Konfiguriert mit: /proj/oscp/nightly/gcc/gcc_4_0_2_release/gcc/configure --enable-languages=c,c++ --enable-threads=posix --with-ld=/usr/ccs/bin/ld --without-gnu-ld
--build=hppa64-hp-hpux11.11 --host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11 --prefix=/opt/hp-gcc/4.0.2/lp64
--with-as=/proj/oscp/nightly/gcc/gcc_4_0_2_release/HP-UX/hppa//opt/hp-gcc/4.0.2/lp64/bin/as
Thread-Modell: posix
gcc-Version 4.0.2

Das ist GCC von HP von <http://hp.com/go/gcc>. Oder liegt's
daran, dass das gcc 4.x ist?

Alexander Skwar
-- 
Men of quality are not afraid of women for equality.



Mehr Informationen über die Mailingliste Postfixbuch-users