ad1d
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am trying to install p5-Cflow from ports on Freebsd 7.1-p2 and also on 7 and i get this warning:
Note (probably harmless): No library found for -lnsl So it doesn't work without it. lnsl is part of libnsl but i can't find the package for it. I found : /usr/compat/linux/lib/libnsl-2.3.6.so /usr/compat/linux/lib/libnsl.so.1 but when i linked libnsl-2.3.6.so to /usr/local/lib/libnsl.so.1 i get : rm -f blib/arch/auto/Cflow/Cflow.so LD_RUN_PATH="/usr/local/lib" cc -shared -L/usr/local/lib Cflow.o -o blib/arch/auto/Cflow/Cflow.so -lnsl /usr/bin/ld: cannot find -lnsl *** Error code 1 Stop in /usr/ports/net-mgmt/p5-Cflow/work/Cflow-1.053. *** Error code 1 Stop in /usr/ports/net-mgmt/p5-Cflow. Anyone got some magic for me to trick it and make it work? Thank you |
|
#2
|
|||
|
|||
|
On FreeBSD, unlike Linux, libnsl functionality is included in libc. So you need to remove all references in the makefile to -lnsl.
Assuming you have the port downloaded, type make extract in the cflow port directory, cd to work/Cflow-1.053, edit Makefile.PL removing references to -lnsl, save, go back to main directory and make all install). This will build and install it WITHOUT the warning which, contrary to what it states, IS FATAL! |
|
#3
|
|||
|
|||
|
Thx alot worked like a swish clock.
Also when installed p4-patricia had to take lnsl from Makefile.PL as well. Hope flowscan will work. |
|
#4
|
||||
|
||||
|
Maybe you should send-pr(1) or send an email to
Code:
$ cd /usr/ports/net-mgmt/p5-Cflow $ make maintainer |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| No disks found on ASUS P5N-D, nForce 750i. | HOLOGRAPHICpizza | Installing & Upgrading | 7 | March 8th, 2009 01:47 |
| 8.0-current: no disks found! | zeiz | FreeBSD Development | 7 | February 26th, 2009 08:09 |
| g++ library version dependence | applebee | Userland Programming & Scripting | 3 | February 3rd, 2009 14:08 |
| Does anyone have any help for a shared library conflict? | mdg583 | Porting New Software | 0 | December 29th, 2008 01:36 |
| 466 gig lost+found file | Pushrod | General | 2 | December 27th, 2008 08:24 |