[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-install
Subject:    Re: [opennms-install] mib2opennms on freebsd
From:       Benjamin Reed <ranger () opennms ! org>
Date:       2007-09-26 12:21:09
Message-ID: 46FA4EB5.3070306 () opennms ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kashmishman wrote:

> /bin/sh ./mkinstalldirs /usr/local/share/aclocal
>  /usr/bin/install -c -m 644 ./libsmi.m4

Is there a libsmi.{a,so} in /usr/local/lib?


> but in neither case did the test for libsmi in 'configure' appreciate
> the libsmi installation
> 
> i debugged around a little, and the failing test is:
> # gcc -o conftest -g -O2 conftest.c -lsmi
> /usr/bin/ld: cannot find -lsmi
> 
> also, there is a var: $LIBS in 'configure', which remains empty during
> it's run,
> wonder if i need to supply something there?

You can add -L/path/to/libsmi/lib/dir/ to the $LIBS dir, or try $LDFLAGS
instead.

Either way, it appears that libsmi isn't in gcc's default library search
path, so you have to tell it where it is, with a -L flag.

- --
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG+k61Uu+jZtP2Zf4RAhEmAKCdBshjXJ9drxvkeEFW2p5TKAecLACcCdHG
Kx5xeYdlBRlxFZpjDOyarOc=
=kXZ9
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic