Nick
please try running this before compiling the library:

ln -s /opt/napatech3/lib/libntapi.so /usr/local/lib/

Alfredo

> On 13 Oct 2015, at 15:59, Alfredo Cardigliano <[email protected]> wrote:
> 
> It seems you have /opt/napatech3/bin in place of /opt/napatech3/lib
> 
> Alfredo
> 
>> On 12 Oct 2015, at 23:23, Nick Allen <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Yes, that is how I am currently setup.  I ran 'ldconfig' again after 
>> ensuring 'ld.so.conf' looked correct, but the result did not change.  More 
>> information below.  
>> 
>> $ cat /opt/napatech3/lib
>> include ld.so.conf.d/*.conf
>> /opt/napatech3/bin
>> 
>> $ sudo ldconfig
>> 
>> $ make
>> ...
>> /usr/bin/ld: cannot find -lntapi
>> collect2: ld returned 1 exit status
>> 
>> $ ls /opt/napatech3/lib/libntapi*
>> /opt/napatech3/lib/libntapi.so
>> 
>> 
>> 
>> 
>> On Mon, Oct 12, 2015 at 5:12 PM, Alfredo Cardigliano <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Hi Nick
>> as you noticed —enable-nt is no more needed, napatech support is always
>> enabled if you have the napatech library installed under /opt/napatech3.
>> Please check that /etc/ld.so.conf contains /opt/napatech3/lib and run 
>> ldconfig
>> 
>> Alfredo
>> 
>> > On 12 Oct 2015, at 23:05, Nick Allen <[email protected] 
>> > <mailto:[email protected]>> wrote:
>> >
>> > In previous versions when building 'userland/lib' I would execute 
>> > 'configure --enable-nt'.  This would ensure that the resulting Makefile 
>> > has '-L/opt/napatech3/lib' so that it can find 
>> > '/opt/napatech3/lib/libntapi.so'.
>> >
>> > The latest master does not seem to like the '--enable-nt' option nor is 
>> > that option mentioned in 'README.napatech' any longer.  But unfortunately, 
>> > I cannot build the code because it does not know where to find libntapi.so.
>> >
>> > What's wrong?
>> >
>> >
>> > _______________________________________________
>> > Ntop-misc mailing list
>> > [email protected] <mailto:[email protected]>
>> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc 
>> > <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
>> 
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected] <mailto:[email protected]>
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc 
>> <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
>> 
>> 
>> -- 
>> Nick Allen <[email protected] <mailto:[email protected]>>
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected] <mailto:[email protected]>
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> 

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to