Thread: Missing library
View Single Post
  #1   (View Single Post)  
Old 5th April 2011
jaax jaax is offline
Jaax
 
Join Date: Oct 2010
Posts: 4
Question Missing library

Hi all,

I have a server under OpenBSD 4.8 arch i386.

When i try to compile a port 'p5-HTTP-GHTTP-1.07p3', i have this error :

Code:
$ make lib-depends-check
===>  Checking files for p5-HTTP-GHTTP-1.07p3
`/usr/ports/distfiles/HTTP-GHTTP-1.07.tar.gz' is up to date.
>> (SHA256) HTTP-GHTTP-1.07.tar.gz: OK
===>  p5-HTTP-GHTTP-1.07p3 depends on: groff->=1.21 - found
===>  p5-HTTP-GHTTP-1.07p3 depends on: libghttp-* - found
===>  Verifying specs: ghttp>=1 perl ghttp>=1 perl
Missing library for ghttp>=1.>=0.0
Fatal error
*** Error code 1

Stop in /usr/ports/www/p5-HTTP-GHTTP (line 1985 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/p5-HTTP-GHTTP (line 2297 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/p5-HTTP-GHTTP (line 1694 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/p5-HTTP-GHTTP (line 2265 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/p5-HTTP-GHTTP (line 2245 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/p5-HTTP-GHTTP (line 2055 of /usr/ports/infrastructure/mk/bsd.port.mk).
And, in the file Makefile :

Code:
$ cat Makefile
[...]
WANTLIB += ghttp>=1

LIB_DEPENDS=    www/libghttp
[...]
But, i have this library on my system and the version match :

Code:
$ ldconfig -r | grep libghttp                                                                                                                                                                                 
        61:-lghttp.1.0 => /usr/local/lib/libghttp.so.1.0

Thanks a lot
Jaax
Reply With Quote