latest 1.5 build has changed .so file locations

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

latest 1.5 build has changed .so file locations

k9dwr
I just built the latest code and noticed that the /usr/lib/svxlink
directory is not being referenced properly during the install.

After doing an ldconfig && make install, I started up my node and got
the following error:

Wed Jan  6 15:55:48 2016: SvxLink v1.5.0 Copyright (C) 2003-2015 Tobias Blomberg / SM0SVX
Wed Jan  6 15:55:48 2016:
Wed Jan  6 15:55:48 2016: SvxLink comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
Wed Jan  6 15:55:48 2016: welcome to redistribute it in accordance with the terms and conditions in the
Wed Jan  6 15:55:48 2016: GNU GPL (General Public License) version 2 or later.
Wed Jan  6 15:55:48 2016:
Wed Jan  6 15:55:48 2016: Using configuration file: /etc/svxlink/svxlink.conf
Wed Jan  6 15:55:48 2016: --- Using sample rate 48000Hz
Wed Jan  6 15:55:48 2016:
Wed Jan  6 15:55:48 2016: Starting logic: SimplexLogic
Wed Jan  6 15:55:48 2016: Loading RX: Rx1
Wed Jan  6 15:55:48 2016: Loading TX: Tx1
Wed Jan  6 15:55:48 2016: Loading module "ModuleEchoLink" into logic "SimplexLogic"
Wed Jan  6 15:55:48 2016:   Found /usr/lib/svxlink/ModuleEchoLink.so
Wed Jan  6 15:55:48 2016:   Module EchoLink v1.3.0.99.1 starting...
Wed Jan  6 15:55:48 2016: *** ERROR: This module is compiled for version 1.4.99.15 of SvxLink but the running version of the SvxLink core is 1.5.0.
Wed Jan  6 15:55:48 2016: *** ERROR: Initialization failed for module ModuleEchoLink in logic SimplexLogic
Wed Jan  6 15:55:48 2016: SimplexLogic: Event handler script successfully loaded.


When I checked, those files were, in fact, the old ones from my build in
April.  Looking back at the install output, I see that these (and a few
other) files were installed to a different location:


-- Installing: /usr/lib/arm-linux-gnueabihf/libasynccore.so.1.4.0.99.0
-- Installing: /usr/lib/arm-linux-gnueabihf/libasynccore.so.1.4
-- Installing: /usr/lib/arm-linux-gnueabihf/libasynccore.so
-- Installing: /usr/lib/arm-linux-gnueabihf/libasynccpp.so.1.4.0.99.0
-- Installing: /usr/lib/arm-linux-gnueabihf/libasynccpp.so.1.4
-- Installing: /usr/lib/arm-linux-gnueabihf/libasynccpp.so
-- Removed runtime path from "/usr/lib/arm-linux-gnueabihf/libasynccpp.so.1.4.0.99.0"
-- Installing: /usr/lib/arm-linux-gnueabihf/libasyncaudio.so.1.4.0.99.0
-- Installing: /usr/lib/arm-linux-gnueabihf/libasyncaudio.so.1.4
-- Installing: /usr/lib/arm-linux-gnueabihf/libasyncaudio.so
-- Removed runtime path from "/usr/lib/arm-linux-gnueabihf/libasyncaudio.so.1.4.0.99.0"
-- Installing: /usr/lib/arm-linux-gnueabihf/libecholib.so.1.3.2
-- Installing: /usr/lib/arm-linux-gnueabihf/libecholib.so.1.3
-- Installing: /usr/lib/arm-linux-gnueabihf/libecholib.so
-- Removed runtime path from "/usr/lib/arm-linux-gnueabihf/libecholib.so.1.3.2"
-- Installing: /usr/lib/arm-linux-gnueabihf/svxlink/ModuleHelp.so
-- Installing: /usr/lib/arm-linux-gnueabihf/svxlink/ModuleParrot.so
-- Installing: /usr/lib/arm-linux-gnueabihf/svxlink/ModuleEchoLink.so
-- Removed runtime path from "/usr/lib/arm-linux-gnueabihf/svxlink/ModuleEchoLink.so"
-- Installing: /usr/lib/arm-linux-gnueabihf/svxlink/ModuleTcl.so
-- Installing: /usr/lib/arm-linux-gnueabihf/svxlink/ModuleDtmfRepeater.so
-- Installing: /usr/lib/arm-linux-gnueabihf/svxlink/ModuleMetarInfo.so
-- Installing: /usr/lib/arm-linux-gnueabihf/svxlink/ModuleFrn.so


But svxlink is still looking for the shared library files in
/usr/lib/svxlink at startup. Either the install is confused, or the code
is.  I "fixed" the problem by creating a symlink:

/usr/lib/svxlink -> /usr/lib/arm-linux-gnueabihf/svxlink

It appears to work, but I have a feeling there may be unexpected issues
still waiting for me in the libasync*.so files (the old files are still
there, too).

This was built on a Raspberry Pi, so maybe something in the Makefile
isn't quite right?

--
David, K9DWR
[hidden email]

------------------------------------------------------------------------------
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|

Re: latest 1.5 build has changed .so file locations

Rob Janssen
David Rock wrote:
> I just built the latest code and noticed that the /usr/lib/svxlink
> directory is not being referenced properly during the install.
>

This was discussed a while ago on the list, when this issue first appeared in the master version.

There are two things you need to do:

1. remove the MODULE_PATH line from the top of the configuration file.

2. remove the old libraries everywhere (not only from /usr/lib/svxlink but also /usr/lib)

Also do not forget you need to run depmod after installing.

I posted a script I use to do that, I suggest to look back in the archive of the list.

Rob

------------------------------------------------------------------------------
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|

Re: latest 1.5 build has changed .so file locations

k9dwr
* Rob Janssen <[hidden email]> [2016-01-07 09:48]:

> David Rock wrote:
> > I just built the latest code and noticed that the /usr/lib/svxlink
> > directory is not being referenced properly during the install.
> >
>
> This was discussed a while ago on the list, when this issue first appeared in the master version.
>
> There are two things you need to do:
>
> 1. remove the MODULE_PATH line from the top of the configuration file.
>
> 2. remove the old libraries everywhere (not only from /usr/lib/svxlink but also /usr/lib)
>
> Also do not forget you need to run depmod after installing.
>
> I posted a script I use to do that, I suggest to look back in the archive of the list.


Thanks.  I was vaguely remembering something about this, but haven't
updated in a while.  If it ain't broke, etc ;-)

--
David, K9DWR
[hidden email]

------------------------------------------------------------------------------
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel