Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 17:44:01 -0800 (PST)
From:      bf <bf2006a@yahoo.com>
To:        freebsd-ports@FreeBSD.org
Cc:        venture37@gmail.com
Subject:   LIB_DEPENDS & dealing with libraries which don't show up in ldconfig -r
Message-ID:  <307782.69347.qm@web39103.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
>Sevan / Venture37 wrote:
>> Hi
>> Whilst attempting to create a port for OpenNMS I've hit a wall, one of 
>> the dependencies is net/jicmp, the problem I'm having is when attempting 
>> to build OpenNMS, jicmp is not detected as being installed & a 
>> installation is always attempted & the process bombs out if it is, what 
>> is the process for dealing with libraries as dependencies which don't 
>> show up in ldconfig -r????
>> 
>> 
>> Sevan / Venture37
>
> Problem solved
> Instead of trying to list the .so file as a dependency, list the .jar 
> file which is part of jicmp instead.
>
> BUILD_DEPENDS=  ${JAVAJARDIR}/jicmp.jar:${PORTSDIR}/net/jicmp
>
>
> Sevan / Venture37

Yes, but you may have to add it to RUN_DEPENDS as well, if your port
needs it.  And of course you should make sure your port is linking
to it properly, both during the build and after installation.

b.


      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?307782.69347.qm>