Hallo Leute,
ich möchte ein Update von 4.11 auf 5.4 durchführen und habe mich (mangels anderer Erfahrungen) an
den Migrationsguide von freebsd.org gehalten. Weit bin ich allerdings nicht gekommen,
bei make buildworld klemmt es:
------------snip-----------------
===> libexec/mail.local
cc -O -pipe -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/sasl1 -DS
ASL -c /usr/src/libexec/mail.local/../../contrib/sendmail/mail.local/mail.local.c
cc -O -pipe -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/sasl1 -DS
ASL -L/usr/local/lib -o mail.local mail.local.o /usr/obj/usr/src/libexec/mail.local/../../lib/libsm/libsm.
a -lsasl
/usr/obj/usr/src/i386/usr/bin/ld: warning: libpam.so.1, needed by /usr/local/lib/libsasl.so, not found (try
using -rpath or -rpath-link)
/usr/obj/usr/src/i386/usr/bin/ld: warning: libldap-2.2.so.7, needed by /usr/local/lib/libsasl.so, not found
(try using -rpath or -rpath-link)
/usr/obj/usr/src/i386/usr/bin/ld: warning: liblber-2.2.so.7, needed by /usr/local/lib/libsasl.so, not found
(try using -rpath or -rpath-link)
/usr/local/lib/libsasl.so: undefined reference to `ldap_get_dn'
/usr/local/lib/libsasl.so: undefined reference to `pam_end'
/usr/local/lib/libsasl.so: undefined reference to `pam_authenticate'
/usr/local/lib/libsasl.so: undefined reference to `ldap_unbind'
/usr/local/lib/libsasl.so: undefined reference to `ldap_first_entry'
/usr/local/lib/libsasl.so: undefined reference to `ldap_simple_bind_s'
/usr/local/lib/libsasl.so: undefined reference to `ldap_set_option'
/usr/local/lib/libsasl.so: undefined reference to `ldap_memfree'
/usr/local/lib/libsasl.so: undefined reference to `pam_start'
/usr/local/lib/libsasl.so: undefined reference to `ldap_init'
/usr/local/lib/libsasl.so: undefined reference to `ldap_search_ext_s'
/usr/local/lib/libsasl.so: undefined reference to `ldap_msgfree'
*** Error code 1
Stop in /usr/src/libexec/mail.local.
*** Error code 1
Stop in /usr/src/libexec.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
-------------snap--------------------------------------
- libpam.so.1 ist in /usr/lib:
cubus# ls -l /usr/lib/libpam.so.1
-r--r--r-- 1 root wheel 38432 Feb 12 2005 /usr/lib/libpam.so.1
- libldap-2.2.so.7 ist in /usr/local/lib:
cubus# ls -l /usr/local/lib/libldap-2.2.so.7
-rw-r--r-- 1 root wheel 198850 Feb 16 2005 /usr/local/lib/libldap-2.2.so.7
- liblber-2.2.so.7 ist in /usr/local/lib:
cubus# ls -l /usr/local/lib/liblber-2.2.so.7
-rw-r--r-- 1 root wheel 50389 Feb 16 2005 /usr/local/lib/liblber-2.2.so.7
vorhanden.
- ldconfig -r zeigt auch die entsprechenden Suchpfade (/usr/lib und /usr/local/lib) dazu an.
In der /etc/make.conf habe ich von:
SENDMAIL_LDFLAGS=-L/usr/local/lib in
SENDMAIL_LDFLAGS=-L/usr/local/lib -L/usr/lib
versucht - ohne Erfolg.
Auch ein symlink für libpam.so.1 hat nichts gebracht.
Sind diese warnings überhaupt der springende Punkt, oder liegt es an ganz anderer Stelle?
Quellen sollten aktuell sein (via cvsup und cvs).
Ich weiß jetzt nicht mehr, wo ich drehen kann/soll, um eine neue Welt zu bekommen.
Übrigens habe ich mit dem 4.11 keine solchen Probleme gehabt, wollt nur mal 'modernisieren' ...
Was kann man hier tun?
ich möchte ein Update von 4.11 auf 5.4 durchführen und habe mich (mangels anderer Erfahrungen) an
den Migrationsguide von freebsd.org gehalten. Weit bin ich allerdings nicht gekommen,
bei make buildworld klemmt es:
------------snip-----------------
===> libexec/mail.local
cc -O -pipe -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/sasl1 -DS
ASL -c /usr/src/libexec/mail.local/../../contrib/sendmail/mail.local/mail.local.c
cc -O -pipe -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/sasl1 -DS
ASL -L/usr/local/lib -o mail.local mail.local.o /usr/obj/usr/src/libexec/mail.local/../../lib/libsm/libsm.
a -lsasl
/usr/obj/usr/src/i386/usr/bin/ld: warning: libpam.so.1, needed by /usr/local/lib/libsasl.so, not found (try
using -rpath or -rpath-link)
/usr/obj/usr/src/i386/usr/bin/ld: warning: libldap-2.2.so.7, needed by /usr/local/lib/libsasl.so, not found
(try using -rpath or -rpath-link)
/usr/obj/usr/src/i386/usr/bin/ld: warning: liblber-2.2.so.7, needed by /usr/local/lib/libsasl.so, not found
(try using -rpath or -rpath-link)
/usr/local/lib/libsasl.so: undefined reference to `ldap_get_dn'
/usr/local/lib/libsasl.so: undefined reference to `pam_end'
/usr/local/lib/libsasl.so: undefined reference to `pam_authenticate'
/usr/local/lib/libsasl.so: undefined reference to `ldap_unbind'
/usr/local/lib/libsasl.so: undefined reference to `ldap_first_entry'
/usr/local/lib/libsasl.so: undefined reference to `ldap_simple_bind_s'
/usr/local/lib/libsasl.so: undefined reference to `ldap_set_option'
/usr/local/lib/libsasl.so: undefined reference to `ldap_memfree'
/usr/local/lib/libsasl.so: undefined reference to `pam_start'
/usr/local/lib/libsasl.so: undefined reference to `ldap_init'
/usr/local/lib/libsasl.so: undefined reference to `ldap_search_ext_s'
/usr/local/lib/libsasl.so: undefined reference to `ldap_msgfree'
*** Error code 1
Stop in /usr/src/libexec/mail.local.
*** Error code 1
Stop in /usr/src/libexec.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
-------------snap--------------------------------------
- libpam.so.1 ist in /usr/lib:
cubus# ls -l /usr/lib/libpam.so.1
-r--r--r-- 1 root wheel 38432 Feb 12 2005 /usr/lib/libpam.so.1
- libldap-2.2.so.7 ist in /usr/local/lib:
cubus# ls -l /usr/local/lib/libldap-2.2.so.7
-rw-r--r-- 1 root wheel 198850 Feb 16 2005 /usr/local/lib/libldap-2.2.so.7
- liblber-2.2.so.7 ist in /usr/local/lib:
cubus# ls -l /usr/local/lib/liblber-2.2.so.7
-rw-r--r-- 1 root wheel 50389 Feb 16 2005 /usr/local/lib/liblber-2.2.so.7
vorhanden.
- ldconfig -r zeigt auch die entsprechenden Suchpfade (/usr/lib und /usr/local/lib) dazu an.
In der /etc/make.conf habe ich von:
SENDMAIL_LDFLAGS=-L/usr/local/lib in
SENDMAIL_LDFLAGS=-L/usr/local/lib -L/usr/lib
versucht - ohne Erfolg.
Auch ein symlink für libpam.so.1 hat nichts gebracht.
Sind diese warnings überhaupt der springende Punkt, oder liegt es an ganz anderer Stelle?
Quellen sollten aktuell sein (via cvsup und cvs).
Ich weiß jetzt nicht mehr, wo ich drehen kann/soll, um eine neue Welt zu bekommen.
Übrigens habe ich mit dem 4.11 keine solchen Probleme gehabt, wollt nur mal 'modernisieren' ...
Was kann man hier tun?