ports/comms/gammu breaks on ld: cannot find -lglib-2.0

Julian H. Stacey jhs at berklix.com
Sat May 21 19:58:06 UTC 2011


Hi bsam at FreeBSD.org & ports at freebsd.org
Can someone else please breakage on ports/comms/gammu ?  or suggest
a solution ?; Is this just my hosts & environment, or general ?

cd /usr/ports/comms/gammu ; make clean ; make
	[ 70%] Building C object gammu-detect/CMakeFiles/gammu-detect.dir/main.o
Linking C executable gammu-detect
/usr/bin/ld: cannot find -lglib-2.0

I have previously installed /usr/ports/devel/glib20 & run ldconfig -R
cd /usr/local/lib ; ls -l libglib*
-rw-r--r--  1 root  wheel   354168 Mar  7 08:38 libglib-12.a
lrwxr-xr-x  1 root  wheel       15 Mar  7 08:38 libglib-12.so@ -> libglib-12.so.3
-rwxr-xr-x  1 root  wheel   214412 Mar  7 08:38 libglib-12.so.3*
-rw-r--r--  1 root  wheel  1632410 May 20 12:33 libglib-2.0.a
-rwxr-xr-x  1 root  wheel     1059 May 20 12:33 libglib-2.0.la*
lrwxr-xr-x  1 root  wheel       16 May 20 12:33 libglib-2.0.so@ -> libglib-2.0.so.0
-rwxr-xr-x  1 root  wheel   999596 May 20 12:33 libglib-2.0.so.0*

uname -a
  FreeBSD blak.js.berklix.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0:
  Thu May 19 13:49:29 CEST 2011
  jhs at blak.js.berklix.net:/ad6s4/release/8.2-RELEASE/src/sys/amd64/compile/BLAK.small
  amd64

Breaks just the same on i386 & amd64 % on 8.2-REL ports & current ports

printenv
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin
TERM=xterm

/etc/make.conf	Empty

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below, not above;  indent with "> ";  cumulative like a play script.
 Mail plain text format;  Not quoted-printable, Not HTML, Not base 64.


More information about the freebsd-ports mailing list