Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 27-05-2010, 13:38   #1
Registered User

Join Date: May 2010
Location: Med
Boat: Westerly Renown
Posts: 35
Problem = libgps.so.19

Hi All,

I'm new here so be gentle!

I've used 1.3.6 for a while without problems. Today I grabbed 2.10. build 526 deb.package and installed in 'buntu 9.10. No errors on install but opencpn is closed.

:~$ opencpn
opencpn: error while loading shared libraries: libgps.so.19: cannot open shared object file: No such file or directory

I use linux all the time but am not very techie. I seem to have libgps.so.18 here,

I have searched here but can't find any info.

Thanks.
__________________

__________________
stuartb is offline   Reply With Quote
Old 27-05-2010, 13:56   #2
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Stuartb

Thanks for your report.
Please uninstall your package.
Download and install again.
Report back!
Thanks!
Thomas
__________________

__________________
cagney is offline   Reply With Quote
Old 27-05-2010, 14:14   #3
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
stuartb....
Welcome aboard.

Thomas:
Quick fix, maybe the .deb needs to configured with

Code:
$cmake -DUSE_GPSD=off ../
This will build a configuration that does not use the libgps, even if present.

Longer term, as I suspected, we need to do some version checking of libgps in the cmake script.
That's all very well for source builders, but...

Sadly, this will need a run-time check as part of the .deb install process to validate the library version.

Or, most probably, I will need to do dynamic library loading at run-time in the code if a usable version of libgps is found...

Sigh....

Thanks
Dave
__________________
bdbcat is online now   Reply With Quote
Old 27-05-2010, 14:17   #4
Registered User

Join Date: May 2010
Location: Med
Boat: Westerly Renown
Posts: 35
Cagney,
Thanks for your quick reply, unfortunately that didn't make any difference. Same error mesg.

This is only ref to libgps that I can find here:
locate libgps
/usr/lib/libgps.so.18
/usr/lib/libgps.so.18.0.0
/usr/share/doc/libgps18
/usr/share/doc/libgps18/changelog.Debian.gz
/usr/share/doc/libgps18/changelog.gz
/usr/share/doc/libgps18/copyright
/var/cache/apt/archives/libgps18_2.39-5_i386.deb
/var/lib/dpkg/info/libgps18.list
/var/lib/dpkg/info/libgps18.md5sums
/var/lib/dpkg/info/libgps18.postinst
/var/lib/dpkg/info/libgps18.postrm
/var/lib/dpkg/info/libgps18.shlibs
/var/lib/dpkg/info/libgps18.symbols

No sign of .so.19 !!

Cheers
__________________
stuartb is offline   Reply With Quote
Old 27-05-2010, 14:22   #5
Registered User

Join Date: May 2010
Location: Med
Boat: Westerly Renown
Posts: 35
bdbcat,

I think we just posted at the same instant.

I'll try your fix willingly but, but. I only know to install .deb with a right-click. Any chance of an idiot-proof command please?

Cheers
__________________
stuartb is offline   Reply With Quote
Old 27-05-2010, 14:38   #6
Registered User

Join Date: May 2010
Location: Med
Boat: Westerly Renown
Posts: 35
What a busy poster I am!

Curious I looked for cmake:

laptop:~$ cmake
The program 'cmake' is currently not installed. You can install it by typing:
sudo apt-get install cmake

So how does GDebi compile it? Is this my problem?

Cheers
__________________
stuartb is offline   Reply With Quote
Old 27-05-2010, 15:41   #7
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
stuartb

No, cmake isn't your problem, unless you like to start compiling your own.
This all boils down to Ubuntu 10.04, which I have installed and the new gpsd version, and what I did.(maybe!)
When I downgraded to the old gpsd, I left libgps 19 on my box together with libgps 18.For some reason opencpn was linked to 19. I have now uninstalled this library, downloaded and recompiled to the latest CVS, which Dave now bumped to 527. I, of course, then ran into the very same dependency problem(!), and used the cmake switch that Dave suggested.

New package available now, build 527, on opencpn.org as usual.
I hope this one will work for you.

Thomas
__________________
cagney is offline   Reply With Quote
Old 29-05-2010, 02:43   #8
Registered User

Join Date: May 2010
Location: Med
Boat: Westerly Renown
Posts: 35
Tmas,

Wow! Installed 527, found my bluetooth gps instantly and looks good.

Although I told synaptic " complete removal " it obviously didn't as 527 opened with my last position showing and picked up the bluetooth without me setting anything.
This version looks already ( two mins use ) very nice.
I'm off to the boat on sunday 'til Sept so I'll let you know how I get on. Mediterranean rocks don't move much so my old CM93 charts are still good!

Thankyou very much.

Stuart
__________________

__________________
stuartb is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Battery-Charging Regulator Problem ? MasterVolt Problem ? RJV Electrical: Batteries, Generators & Solar 18 06-11-2011 23:53
GPS Problem boden36 Marine Electronics 7 26-02-2010 09:13
trying to fix problem MacPepper Electrical: Batteries, Generators & Solar 16 26-05-2008 04:39
Could this be the problem? zackc Engines and Propulsion Systems 9 08-02-2008 19:20
Serious problem bottleinamessage Electrical: Batteries, Generators & Solar 19 26-08-2007 11:39



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 13:00.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.