Bug 1352298

Summary: Unable to link libuhd.so.003
Product: [Fedora] Fedora Reporter: Luca Giuzzi <luca.giuzzi>
Component: uhdAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: jskarvad, luca.giuzzi
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-04 10:16:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Luca Giuzzi 2016-07-03 13:17:30 UTC
Description of problem:
 I am currently unable to compile gqrx, as linking the library libuhd.so.003 gives a boost error.

Version-Release number of selected component (if applicable):


How reproducible:
 Clone gqrx from https://github.com/csete/gqrx.git and attempt compilation


Steps to Reproduce:
1. git clone https://github.com/csete/gqrx.git; cd gqrx
2. mkdir build; cd build ; cmake .. ; make
3. ...wait

Actual results:

/usr/lib64/libuhd.so.003: undefined reference to `boost::re_detail_106000::cpp_regex_traits_implementation<char>::transform_primary(char const*, char const*) const'
/usr/lib64/libuhd.so.003: undefined reference to `boost::re_detail_106000::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const'
collect2: error: ld returned 1 exit status
src/CMakeFiles/gqrx.dir/build.make:1635: recipe for target 'src/gqrx' failed
make[2]: *** [src/gqrx] Error 1
make[2]: Leaving directory '/home/lucag/Src/RADIO/gqrx/build'
CMakeFiles/Makefile2:135: recipe for target 'src/CMakeFiles/gqrx.dir/all' failed
make[1]: *** [src/CMakeFiles/gqrx.dir/all] Error 2


Expected results:
  The proper symbols are found, the suitable boost library is linked and the executable gqrx is generated.

Additional info:

Comment 1 Luca Giuzzi 2016-07-03 14:32:48 UTC
Incidentally, I have just attempted to install gqrx using dnf.
It does terminate with the error
gqrx: symbol lookup error: /lib64/libuhd.so.003: undefined symbol: _ZNK5boost16re_detail_10600031cpp_regex_traits_implementationIcE17transform_primaryEPKcS4_

Comment 2 Jaroslav Škarvada 2016-07-04 09:54:07 UTC
I guess it's fixed by:
https://bodhi.fedoraproject.org/updates/FEDORA-2016-22f4609f86

which I accidentally forgot in testing (because I haven't received any mail from bodhi). Please let me know whether it fixes the problem for you.

Comment 3 Luca Giuzzi 2016-07-04 10:03:04 UTC
Yes: it works!
Thanks.

Comment 4 Jaroslav Škarvada 2016-07-04 10:16:48 UTC

*** This bug has been marked as a duplicate of bug 1308204 ***