Link to home
Start Free TrialLog in
Avatar of rares_dumitrescu
rares_dumitrescu

asked on

missing library freebsd courier-imap

freebsd 6.2 trying to install courier-imap from ports - getting this error on make install clean.

help?

gmake[3]: Leaving directory `/usr/ports/security/courier-authlib-base/work/courier-authlib-0.59.3/liblog'
gmake[2]: Leaving directory `/usr/ports/security/courier-authlib-base/work/courier-authlib-0.59.3/liblog'
gmake[2]: Entering directory `/usr/ports/security/courier-authlib-base/work/courier-authlib-0.59.3'
Compiling authdaemond.c
authdaemond.c:28:18: ltdl.h: No such file or directory
authdaemond.c:48: error: syntax error before "lt_dlhandle"
authdaemond.c: In function `initmodules':
authdaemond.c:97: warning: implicit declaration of function `lt_dlclose'
authdaemond.c:97: error: structure has no member named `h'
authdaemond.c:104: error: syntax error before "h"
authdaemond.c:122: error: `h' undeclared (first use in this function)
authdaemond.c:122: error: (Each undeclared identifier is reported only once
authdaemond.c:122: error: for each function it appears in.)
authdaemond.c:122: warning: implicit declaration of function `lt_dlopenext'
authdaemond.c:126: warning: implicit declaration of function `lt_dlerror'
authdaemond.c:126: warning: format argument is not a pointer (arg 3)
authdaemond.c:132: error: `pt' undeclared (first use in this function)
authdaemond.c:132: warning: implicit declaration of function `lt_dlsym'
authdaemond.c:138: warning: format argument is not a pointer (arg 3)
authdaemond.c:153: error: structure has no member named `h'
authdaemond.c: In function `start':
authdaemond.c:948: warning: implicit declaration of function `lt_dlinit'
authdaemond.c:951: warning: format argument is not a pointer (arg 3)
authdaemond.c:955: warning: implicit declaration of function `lt_dlsetsearchpath'
authdaemond.c:958: warning: format argument is not a pointer (arg 3)
gmake[2]: *** [authdaemond.o] Error 1
gmake[2]: Leaving directory `/usr/ports/security/courier-authlib-base/work/courier-authlib-0.59.3'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/security/courier-authlib-base/work/courier-authlib-0.59.3'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/security/courier-authlib-base.
*** Error code 1

Stop in /usr/ports/security/courier-authlib-base.
*** Error code 1

Stop in /usr/ports/mail/courier-imap.
*** Error code 1

Stop in /usr/ports/mail/courier-imap.
ASKER CERTIFIED SOLUTION
Avatar of srgilani
srgilani
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rares_dumitrescu
rares_dumitrescu

ASKER

i know but i have googled it and i can't find the solution. the library is there in the system

/usr/local/share/libtool/libltdl/ltdl.h
/usr/ports/security/courier-authlib-base/work/courier-authlib-0.59.3/libltdl/ltdl.h
help?
pkg_add -r courier-authlib

seems that installing from ports doesn't go too well. add through the package manager
if library is there then check script, the place where include ltdl.h you have to give correct path as per your system.