DragonFlyBSD / DPorts

The dedicated application build system for DragonFly BSD
Other
89 stars 44 forks source link

krb5 missing errortable and dports config #148

Closed edwberger closed 8 years ago

edwberger commented 9 years ago

Tried to use the kerberos version of rsh from pkg krb5-appl and got undefined symbol "add_error_table" in krb5.so message

/usr/local/bin/rsh -x filefetch@watchdog.psc.edu cat hosts/hosts.psc /usr/local/lib/libkrb5.so: Undefined symbol "add_error_table"

building krb5 in /usr/dports/security gives same error.

jrmarino commented 9 years ago

link it with libcom_err

jrmarino commented 9 years ago

ah, i thought you were trying to use libkrb5.so on a separate project. I misread.

jrmarino commented 9 years ago

This is nasty. /usr/lib/libcom_error.so.3 exists. so does /usr/local/lib/libcom_error.so.3

the linker is picking up the base com_err library. One of these needs a different SO number.

edwberger commented 9 years ago

Hi John, Thanks for looking into it.

linker magic is currently beyond my experience level.

Ed Berger eberger@psc.edu

On 5/6/2015 10:19 AM, jrmarino wrote:

This is nasty. /usr/lib/libcom_error.so.3 exists. so does /usr/local/lib/libcom_error.so.3

the linker is picking up the base com_err library. One of these needs a different SO number.

— Reply to this email directly or view it on GitHub https://github.com/DragonFlyBSD/DPorts/issues/148#issuecomment-99484905.

jrmarino commented 8 years ago

This was related to old libcom_err being in base. It's been removed.