View Single Post
  #1   (View Single Post)  
Old 7th February 2014
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default Cairo-dock gthread-2.0

I am looking at building cairo-dock on OpenBSD-current and feel ever so close to success.
Quote:
[100%] Building C object Help/src/CMakeFiles/cd-Help.dir/applet-composite.c.o
Linking C shared library libcd-Help.so
/usr/bin/ld: cannot find -lgthread-2.0
collect2: ld returned 1 exit status
*** Error 1 in . (Help/src/CMakeFiles/cd-Help.dir/build.make:189 'Help/src/libcd-Help.so')
*** Error 1 in . (CMakeFiles/Makefile2:1467 'Help/src/CMakeFiles/cd-Help.dir/all')
*** Error 1 in /usr/local/cairo-dock-3.3.2 (Makefile:137 'all')
It uses cmake which I initialized with
[cmd]cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr/local[/cmd]
and
[cmd]cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=/usr/local/lib[/cmd]

I have libgthreads-2.0
Quote:
jsh$ ls -al /usr/local/lib | grep gth
-rw-r--r-- 1 root bin 2646 Jan 25 11:17 libgthread-2.0.a
-rw-r--r-- 1 root bin 914 Jan 25 11:17 libgthread-2.0.la
-rw-r--r-- 1 root bin 8309 Jan 25 11:17 libgthread-2.0.so.3800.0
-rw-r--r-- 1 root bin 10014 Feb 4 05:34 libgthread.a
-rw-r--r-- 1 root bin 739 Feb 4 05:34 libgthread.la
-rw-r--r-- 1 root bin 14603 Feb 4 05:34 libgthread.so.1.2
My sense is that it is poor form to make a lgthread-2.0 soft link to libgthread-2.0.so.3800.0. Any advise on where to go from here?
Reply With Quote