Date: Thu, 23 Apr 2020 18:54:01 +0200 From: Xavier Humbert <xavier@groumpf.org> To: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: net/librsync does not build Message-ID: <fb37e659-07d2-8539-6d5b-040f1b2d7aca@groumpf.org>
next in thread | raw e-mail | index | archive | help
Hi, net/librsync apparently can't find libpopt : > [root@numenor librsync]# MAKE_JOBS_UNSAFE=yes make > ===> Building for librsync-2.3.0 > [1/1] : && /usr/bin/cc -O2 -pipe -g -march=core2 -fstack-protector-strong > -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -g -march=core2 > -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong > CMakeFiles/rdiff.dir/src/rdiff.c.o CMakeFiles/rdiff.dir/src/isprefix.c.o > -o rdiff -Wl,-rpath,/usr/ports/net/librsync/work/.build: > librsync.so.2.3.0 -lpopt && : > FAILED: rdiff > : && /usr/bin/cc -O2 -pipe -g -march=core2 -fstack-protector-strong > -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -g -march=core2 > -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong > CMakeFiles/rdiff.dir/src/rdiff.c.o CMakeFiles/rdiff.dir/src/isprefix.c.o > -o rdiff -Wl,-rpath,/usr/ports/net/librsync/work/.build: > librsync.so.2.3.0 -lpopt && : > ld: error: unable to find library -lpopt > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > ninja: build stopped: subcommand failed. > *** Error code 1 > > Stop. > make: stopped in /usr/ports/net/librsync > However : > [root@numenor librsync]# ll /usr/local/lib/libpopt.* > -rw-r--r-- 1 root wheel 73960 Apr 19 02:58 /usr/local/lib/libpopt.a > lrwxr-xr-x 1 root wheel 16 Apr 19 02:58 > /usr/local/lib/libpopt.so@ -> libpopt.so.0.0.0 > lrwxr-xr-x 1 root wheel 16 Apr 19 02:58 > /usr/local/lib/libpopt.so.0@ -> libpopt.so.0.0.0 > -rwxr-xr-x 1 root wheel 56832 Apr 19 02:58 > /usr/local/lib/libpopt.so.0.0.0* What is the problem ? Thxs Regards Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb37e659-07d2-8539-6d5b-040f1b2d7aca>