• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

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.
0
rares_dumitrescu
Asked:
rares_dumitrescu
  • 3
  • 2
1 Solution
 
srgilaniCommented:
you have to find below file that is missing.

authdaemond.c:28:18: ltdl.h: No such file or directory
authdaemond.c:48: error: syntax error before "lt_dlhandle"
0
 
rares_dumitrescuAuthor Commented:
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
0
 
rares_dumitrescuAuthor Commented:
help?
0
 
rares_dumitrescuAuthor Commented:
pkg_add -r courier-authlib

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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now