EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem building aravisGigE on Centos 7
From: Michael Davidsaver <[email protected]>
To: Mark Rivers <[email protected]>, "[email protected]" <[email protected]>
Date: Fri, 29 Jun 2018 16:44:34 -0700
On 06/29/2018 03:44 PM, Mark Rivers wrote:
> ...
> /bin/ld: /home/epics/devel/areaDetector-3-3/aravisGigE/lib/linux-x86_64/libaravisCamera.a(aravisCamera.o): undefined reference to symbol 'g_signal_connect_data'
> 
> /lib64/libgobject-2.0.so.0: error adding symbols: DSO missing from command line

This is the same issue once removed.  -lgobject is missing.

pkg-config is your friend here.

aravis 0.3.8 lists it's dependencies as

> glib-2.0 gobject-2.0 gio-2.0 libxml-2.0 gthread-2.0

https://github.com/epicsdeb/aravis/blob/master/aravis.pc.in#L9

copy+paste these to pkg-config

> $ pkg-config --libs glib-2.0 gobject-2.0 gio-2.0 libxml-2.0 gthread-2.0
> -lgio-2.0 -lgobject-2.0 -lxml2 -lgthread-2.0 -pthread -lglib-2.0


So your

> -laravisCamera -laravis-0.4 -lNDPlugin -lADBase -lntndArrayConverter -lnt -lpvDatabase -lpvAccessIOC -lpvAccessCA -lpvAccess -lpvData -lnetCDF -lMagick++ -lcoders -lMagick -ljbig -ljp2 -lbzlib -lpng -lwebp -llcms -lttf -lwmf -lfilters -ltiff -ljpeg -lxml2 -lNeXus -lhdf5 -lblosc -lszip -lzlib -lasyn -lautosave -lbusy -lcalc -ldevIocStats -lsscan -lseq -lpv -ldbRecStd -ldbCore -lca -lCom -Wl,-Bdynamic -lgiomm-2.4 -lX11 -lXext -lpthread   -lreadline -lm -lrt -ldl -lgcc

is missing gobject, gthread, and glib itself.

These results on debian 9 w/ glib 2.50.3-2, your mileage may vary.

Replies:
RE: Problem building aravisGigE on Centos 7 Mark Rivers
References:
Problem building aravisGigE on Centos 7 Mark Rivers

Navigate by Date:
Prev: Problem building aravisGigE on Centos 7 Mark Rivers
Next: RE: Problem building aravisGigE on Centos 7 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem building aravisGigE on Centos 7 Mark Rivers
Next: RE: Problem building aravisGigE on Centos 7 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 30 Jun 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·