[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Klog-users] trouble building klog
From: |
George L. Emigh |
Subject: |
Re: [Klog-users] trouble building klog |
Date: |
Mon, 12 Apr 2010 15:03:42 -0400 |
User-agent: |
KMail/1.13.2 (Linux/2.6.33-gentoo; KDE/4.4.2; x86_64; ; ) |
I can "emerge" other packages that depend on hamlib just fine, I'm back to
attempting to build it manually till I solve the issue, gentoo is a source
based distribution so emerging hamlib installs all the required parts to build
a piece of software.
Klog actually compiles, so it finds all the header files etc., but for some
reason the linking part fails even with Andrew's recommendation.
The library does exist at /usr/lib64/hamlib/libhamlib.so as a symlink:
/usr/lib64/hamlib/libhamlib.so -> libhamlib.so.2.0.10
And other applications find it fine.
For those who have built it successfully, are you using a system wide copy of
hamlib or a local copy?
As time permits, I'll keep hacking away at it.
73
On Monday 12 April 2010, Jaime Robles wrote:
> Hello,
> Taking into account what Andrew has told you and having in mind that I
> don't know how Gentoo manages its packages... Hace you "emerged" the
> hamlib-dev package?
>
> In order to compile KLog you need the -dev package of hamlib.
>
> Keep us informed!
>
> Jaime
>
> El 11/04/2010, a las 23:11, "George L. Emigh" <address@hidden>
>
> escribió:
> > I'm trying to build klog on my Gentoo system, when I manually tried
> > to build it,
> > I got the same error as listed here, currently I'm trying to build
> > it using an ebuild
> > script to install it the Gentoo way, but still it cannot find hamlib.
> >
> > the currently installed hamlib is hamlib-1.2.10
> >
> > Any idea what may be the problem here?
> >
> > [100%] Building CXX object src/CMakeFiles/klog.dir/qrc_klog-
> > resources.o
> > Linking CXX executable klog
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-
> > gnu/bin/ld: cannot find -lhamlib
> > collect2: ld returned 1 exit status
> > make[2]: *** [src/klog] Error 1
> > make[1]: *** [src/CMakeFiles/klog.dir/all] Error 2
> > make: *** [all] Error 2
> >
> >
> > My hamlib directory
> >
> > # ls -l /usr/lib64/hamlib/
> > total 2992
> >
> > -rwxr-xr-x 1 root root 1033 Apr 11 16:49 hamlib-alinco.la
> > -rwxr-xr-x 1 root root 26552 Apr 11 16:49 hamlib-alinco.so
> > -rwxr-xr-x 1 root root 1015 Apr 11 16:49 hamlib-aor.la
> > -rwxr-xr-x 1 root root 120816 Apr 11 16:49 hamlib-aor.so
> > -rwxr-xr-x 1 root root 1027 Apr 11 16:49 hamlib-drake.la
> > -rwxr-xr-x 1 root root 38960 Apr 11 16:49 hamlib-drake.so
> > -rwxr-xr-x 1 root root 1027 Apr 11 16:49 hamlib-dummy.la
> > -rwxr-xr-x 1 root root 67696 Apr 11 16:49 hamlib-dummy.so
> > -rwxr-xr-x 1 root root 1045 Apr 11 16:49 hamlib-easycomm.la
> > -rwxr-xr-x 1 root root 10136 Apr 11 16:49 hamlib-easycomm.so
> > -rwxr-xr-x 1 root root 1051 Apr 11 16:49 hamlib-flexradio.la
> > -rwxr-xr-x 1 root root 39064 Apr 11 16:49 hamlib-flexradio.so
> > -rwxr-xr-x 1 root root 1045 Apr 11 16:49 hamlib-fodtrack.la
> > -rwxr-xr-x 1 root root 10136 Apr 11 16:49 hamlib-fodtrack.so
> > -rwxr-xr-x 1 root root 1033 Apr 11 16:49 hamlib-gs232a.la
> > -rwxr-xr-x 1 root root 10168 Apr 11 16:49 hamlib-gs232a.so
> > -rwxr-xr-x 1 root root 1045 Apr 11 16:49 hamlib-heathkit.la
> > -rwxr-xr-x 1 root root 10152 Apr 11 16:49 hamlib-heathkit.so
> > -rwxr-xr-x 1 root root 1021 Apr 11 16:49 hamlib-icom.la
> > -rwxr-xr-x 1 root root 551152 Apr 11 16:49 hamlib-icom.so
> > -rwxr-xr-x 1 root root 1015 Apr 11 16:49 hamlib-jrc.la
> > -rwxr-xr-x 1 root root 51152 Apr 11 16:49 hamlib-jrc.so
> > -rwxr-xr-x 1 root root 1039 Apr 11 16:49 hamlib-kachina.la
> > -rwxr-xr-x 1 root root 18312 Apr 11 16:49 hamlib-kachina.so
> > -rwxr-xr-x 1 root root 1039 Apr 11 16:49 hamlib-kenwood.la
> > -rwxr-xr-x 1 root root 375544 Apr 11 16:49 hamlib-kenwood.so
> > -rwxr-xr-x 1 root root 1011 Apr 11 16:49 hamlib-kit.la
> > -rwxr-xr-x 1 root root 96312 Apr 11 16:49 hamlib-kit.so
> > -rwxr-xr-x 1 root root 1021 Apr 11 16:49 hamlib-lowe.la
> > -rwxr-xr-x 1 root root 18352 Apr 11 16:49 hamlib-lowe.so
> > -rwxr-xr-x 1 root root 1015 Apr 11 16:49 hamlib-pcr.la
> > -rwxr-xr-x 1 root root 51504 Apr 11 16:49 hamlib-pcr.so
> > -rwxr-xr-x 1 root root 1027 Apr 11 16:49 hamlib-racal.la
> > -rwxr-xr-x 1 root root 22472 Apr 11 16:49 hamlib-racal.so
> > -rwxr-xr-x 1 root root 1015 Apr 11 16:49 hamlib-rft.la
> > -rwxr-xr-x 1 root root 18328 Apr 11 16:49 hamlib-rft.so
> > -rwxr-xr-x 1 root root 1039 Apr 11 16:49 hamlib-rotorez.la
> > -rwxr-xr-x 1 root root 14264 Apr 11 16:49 hamlib-rotorez.so
> > -rwxr-xr-x 1 root root 1033 Apr 11 16:49 hamlib-rpcrig.la
> > -rwxr-xr-x 1 root root 57048 Apr 11 16:49 hamlib-rpcrig.so
> > -rwxr-xr-x 1 root root 1033 Apr 11 16:49 hamlib-rpcrot.la
> > -rwxr-xr-x 1 root root 14680 Apr 11 16:49 hamlib-rpcrot.so
> > -rwxr-xr-x 1 root root 1009 Apr 11 16:49 hamlib-rs.la
> > -rwxr-xr-x 1 root root 18360 Apr 11 16:49 hamlib-rs.so
> > -rwxr-xr-x 1 root root 1033 Apr 11 16:49 hamlib-sartek.la
> > -rwxr-xr-x 1 root root 6016 Apr 11 16:49 hamlib-sartek.so
> > -rwxr-xr-x 1 root root 1033 Apr 11 16:49 hamlib-skanti.la
> > -rwxr-xr-x 1 root root 18336 Apr 11 16:49 hamlib-skanti.so
> > -rwxr-xr-x 1 root root 1021 Apr 11 16:49 hamlib-spid.la
> > -rwxr-xr-x 1 root root 10144 Apr 11 16:49 hamlib-spid.so
> > -rwxr-xr-x 1 root root 1021 Apr 11 16:49 hamlib-tapr.la
> > -rwxr-xr-x 1 root root 18288 Apr 11 16:49 hamlib-tapr.so
> > -rwxr-xr-x 1 root root 1033 Apr 11 16:49 hamlib-tentec.la
> > -rwxr-xr-x 1 root root 149648 Apr 11 16:49 hamlib-tentec.so
> > -rwxr-xr-x 1 root root 1027 Apr 11 16:49 hamlib-tuner.la
> > -rwxr-xr-x 1 root root 18336 Apr 11 16:49 hamlib-tuner.so
> > -rwxr-xr-x 1 root root 1033 Apr 11 16:49 hamlib-uniden.la
> > -rwxr-xr-x 1 root root 96240 Apr 11 16:49 hamlib-uniden.so
> > -rwxr-xr-x 1 root root 1045 Apr 11 16:49 hamlib-winradio.la
> > -rwxr-xr-x 1 root root 79752 Apr 11 16:49 hamlib-winradio.so
> > -rwxr-xr-x 1 root root 1009 Apr 11 16:49 hamlib-wj.la
> > -rwxr-xr-x 1 root root 22456 Apr 11 16:49 hamlib-wj.so
> > -rwxr-xr-x 1 root root 1027 Apr 11 16:49 hamlib-yaesu.la
> > -rwxr-xr-x 1 root root 465152 Apr 11 16:49 hamlib-yaesu.so
> > -rwxr-xr-x 1 root root 1026 Apr 11 16:49 libhamlib++.la
> > lrwxrwxrwx 1 root root 20 Apr 11 16:50 libhamlib++.so ->
> > libhamlib++.so.2.0.5
> > lrwxrwxrwx 1 root root 20 Apr 11 16:50 libhamlib++.so.2 ->
> > libhamlib++.so.2.0.5
> > -rwxr-xr-x 1 root root 51928 Apr 11 16:49 libhamlib++.so.2.0.5
> > -rwxr-xr-x 1 root root 989 Apr 11 16:49 libhamlib.la
> > lrwxrwxrwx 1 root root 19 Apr 11 16:50 libhamlib.so ->
> > libhamlib.so.2.0.10
> > lrwxrwxrwx 1 root root 19 Apr 11 16:50 libhamlib.so.2 ->
> > libhamlib.so.2.0.10
> > -rwxr-xr-x 1 root root 119568 Apr 11 16:49 libhamlib.so.2.0.10
--
George L. Emigh - AB4BD
http://www.georgelemigh.com