Installation problem on FC2 (FC3 test 2)

Good day.

I downloaded turnwatcher-demo_1.0-m2osw9.tar.gz,
untar it, run install.sh - everything was fine.

But when i try to run ./turnwatcher i got only following error message:

/home/valery/turnwatcher-demo_1.0-m2osw9/usr/bin/turnwatcher-bin: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory

Find in the turnwatcher-demo_1.0-m2osw9 directory give nothing. Where should I look for this library ?

Could you help please ?

Thank you,
Valery

GNU libtool package

Valery wrote:
Good day.

I downloaded turnwatcher-demo_1.0-m2osw9.tar.gz,
untar it, run install.sh - everything was fine.

But when i try to run ./turnwatcher i got only following error message:

/home/valery/turnwatcher-demo_1.0-m2osw9/
usr/bin/turnwatcher-bin: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory

Find in the turnwatcher-demo_1.0-m2osw9 directory give nothing.
Where should I look for this library ?

Could you help please ?

Thank you,
Valery


Hi Valery,

You need the GNU libtool package. You can install this tool using yum. The will look for the exact command, but it should be something like this:

Code:
yum install libtool


and then it will work.

Let me know if you encounter any other problem.

Alexis Wilke
CEO
Made to Order Software
https://www.m2osw.com
+1 (916) 988 1450

A small graphic marking the end of the paragraph

Installed libtool-libs

alexis wrote:
Valery wrote:
Good day.

I downloaded turnwatcher-demo_1.0-m2osw9.tar.gz,
untar it, run install.sh - everything was fine.

But when i try to run ./turnwatcher i got only following error message:

/home/valery/turnwatcher-demo_1.0-m2osw9
/usr/bin/turnwatcher-bin: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory

Find in the turnwatcher-demo_1.0-m2osw9 directory give nothing.
Where should I look for this library ?

Could you help please ?

Thank you,
Valery


Hi Valery,

You need the GNU libtool package. You can install this tool using yum. The will look for the exact command, but it should be something like this:

Code:
yum install libtool


and then it will work.

Let me know if you encounter any other problem.



Good day, Alexis.
I installed libtool (in fact just libtool-libs) and it's solved my problem, thank you.
By the way, libtool (OK, at least on my box - FC3 test2)
depend on automake, autoconf and libtool-libs.
And missing library really was in libtool-libs package.
I.e. one can just install libtools-lib, without autoconf/automake/libtool.

Valery.
P.S. just curiosity - is this library really needed, or it's just build process's artifact ?

Check out edll

Quote:
Good day, Alexis.

I installed libtool (in fact just libtool-libs) and it's solved my problem, thank you.

By the way, libtool (OK, at least on my box - FC3 test2)
depends on automake, autoconf and libtool-libs.
And missing library really was in libtool-libs package.
I.e. one can just install libtools-lib, without autoconf/automake/libtool.

Valery.
P.S. just curiosity - is this library really needed, or it's just build process's artifact ?


Valery,

Okay, so I meant to tell you to just install libtool-libs. For me it's usually not obvious that developer tools will get installed!

We use that library to load modules, which Turn Watcher does not use (at least not yet). And this is part of our Made to Order Software library (or molib in short, you can find it under usr/lib/mo/1.1.0/lib.) Another of our software makes use of modules. Our problem was to find a solution to load modules on any platform, not just Linux and with the libtool library we can load modules on Linux, Win32 and Mac OS/X. If you are interested on that subject, have a look at the edll library:

http://edll.m2osw.com

Thank you for letting us know that this was the fix!

Alexis Wilke
CEO
Made to Order Software
https://www.m2osw.com
+1 (916) 988 1450

A small graphic marking the end of the paragraph

Thank you for the link

alexis wrote:
Quote:
Good day, Alexis.

I installed libtool (in fact just libtool-libs) and it's solved my problem, thank you.

By the way, libtool (OK, at least on my box - FC3 test2)
depends on automake, autoconf and libtool-libs.
And missing library really was in libtool-libs package.
I.e. one can just install libtools-lib, without autoconf/automake/libtool.

Valery.
P.S. just curiosity - is this library really needed, or it's just build process's artifact ?


Valery,

Okay, so I meant to tell you to just install libtool-libs. For me it's usually not obvious that developer tools will get installed!

We use that library to load modules, which Turn Watcher does not use (at least not yet). And this is part of our Made to Order Software library (or molib in short, you can find it under usr/lib/mo/1.1.0/lib.) Another of our software makes use of modules. Our problem was to find a solution to load modules on any platform, not just Linux and with the libtool library we can load modules on Linux, Win32 and Mac OS/X. If you are interested on that subject, have a look at the edll library:

http://edll.m2osw.com

Thank you for letting us know that this was the fix!


Good day, Alexis.
Thank you for the link - it was interesting reading.
As long as I undestand all this fuss is because Win - on linux dll are perfectly capable to look back into the main exe to resolve undefined function. Or am I miss something ?

By the way, on my another box FC5 there is libltdl.so.3 in the libtool-ltdl package and there is no libstdc++,so.5 Sad

Valery

Well... it is subtle...

Quote:
http://edll.m2osw.com

Good day, Alexis.
Thank you for the link - it was interesting reading.
As long as I undestand all this fuss is because of Windows - since Linux dynamic libraries are perfectly capable of looking back into the main exe to resolve undefined functions. Or am I missing something ?


Well... it is subtle... Wink
With edll there is a special version of ltdl which will load modules through edll letting us link back to our main application. Something the normal MS-Windows system doesn't offer without using some trick (thought edll is some kind of a trick too here!). This is why we need ltdl. Other libraries don't offer as much flexibility.

 

Quote:
By the way, on my other box with FC5 there is libltdl.so.3 in the libtool-ltdl package, but there is no libstdc++.so.5 Sad


Right, libstdc++.so.5 is not installed by default on FC5. In general, it is not needed and our newer version (Turn Watcher 1.1) does not use version 5 anymore (it uses version 6 as expected).

You can do this to get that library and run our demo, though:

 

Code:
yum install compat-libstdc++-33


Let me know if you still have problems once you installed that library. Again, once you purchased 1.1, you won't need that library.

Thank you,

Alexis Wilke
CEO
Made to Order Software
https://www.m2osw.com
+1 (916) 988 1450

A small graphic marking the end of the paragraph

Yes, with libstdc++.so.5 installed

alexis wrote:
Quote:
http://edll.m2osw.com

Good day, Alexis.
Thank you for the link - it was interesting reading.
As long as I undestand all this fuss is because of Windows - since Linux dynamic libraries are perfectly capable of looking back into the main exe to resolve undefined functions. Or am I missing something ?


Well... it is subtle... Wink
With edll there is a special version of ltdl which will load modules through edll letting us link back to our main application. Something the normal MS-Windows system doesn't offer without using some trick (thought edll is some kind of a trick too here!). This is why we need ltdl. Other libraries don't offer as much flexibility.


Quote:
By the way, on my other box with FC5 there is libltdl.so.3 in the libtool-ltdl package, but there is no libstdc++.so.5 Sad


Right, libstdc++.so.5 is not installed by default on FC5. In general, it is not needed and our newer version (Turn Watcher 1.1) does not use version 5 anymore (it uses version 6 as expected).

You can do this to get that library and run our demo, though:


Code:
yum install compat-libstdc++-33


Let me know if you still have problems once you installed that library. Again, once you purchased 1.1, you won't need that library.

Thank you,


Yes, with libstdc++.so.5 installed it's OK, thank you.
And happy new year.

Valery.