discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] cmake build not placing lib*.so properly


From: Marcus D. Leech
Subject: [Discuss-gnuradio] cmake build not placing lib*.so properly
Date: Fri, 13 Jan 2012 14:01:17 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

Observe the following directory listing:

address@hidden ~]$ ls -l /usr/local/lib/libgnuradio-core*
lrwxrwxrwx 1 root root      34 2012-01-13 13:56
/usr/local/lib/libgnuradio-core-3.5.2git.so.0 ->
libgnuradio-core-3.5.2git.so.0.0.0
lrwxrwxrwx 1 root root      34 2012-01-13 13:56
/usr/local/lib/libgnuradio-core.so -> libgnuradio-core-3.5.2git.so.0.0.0
-rwxr-xr-x 1 root root 2108365 2012-01-13 13:45
/usr/local/lib/libgnuradio-core.so.0.0.0

Notice how libgnuradio-core.so  points off to nothingness

Now, gnuradio-based *applications* seem to be just fine with this, after
running ldconfig.

But, for example, if you pull something, like gr-stream-tags off of
CGRAN, and try to build the result, it
  will barf on a linker error, due to not being able to resolve
"-lgnuradio-core" (and others).

So the question is, where is cmake getting its notion of how to name
these things, and set up the
  symlink hierarchy?  If it comes from the ".pc" files, I'll note that
they haven't been updated since
  I last ran an autotools build, 5 days ago.  Does cmake update the
".pc" files?  How is this
  dangling symlink problem happening?


-- 
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]