Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2011 21:37:21 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        bsam@FreeBSD.org, ports@FreeBSD.org
Subject:   ports/comms/gammu breaks on ld: cannot find -lglib-2.0
Message-ID:  <201105211937.p4LJbL1M091406@fire.js.berklix.net>

next in thread | raw e-mail | index | archive | help
Hi bsam@FreeBSD.org & ports@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105211937.p4LJbL1M091406>