Ubuntu Server 12.04 Install Error

488 views
Skip to first unread message

Elliot P

unread,
Jul 24, 2012, 9:21:12 AM7/24/12
to kl...@googlegroups.com

I was able to build and run klish on Ubuntu Server 12.04 with no errors. However, when I try to run "sudo make install", I receive the following error:

/usr/bin/ld: cannot find -llub
/usr/bin/ld: cannot find -ltinyrl
/usr/bin/ld: cannot find -lkonf
collect2: ld returned 1 exit status
libtool: install: error: relink `libclish.la' with the above command before installing it
make[1]: *** [install-libLTLIBRARIES] Error 1
make[1]: Leaving directory `/home/administrator/klish'
make: *** [install-am] Error 2


This is occurred after a clean checkout from git. The build commands I used were:

make clean
./configure
make
sudo make install

Has this been seen before?

Elliot

Serj Kalichev

unread,
Jul 26, 2012, 7:41:04 AM7/26/12
to kl...@googlegroups.com
Hi

I have not seen the such error. I have an Ubuntu on work but now I
have a vacation and have too slow internet access. Then I'll check it.


2012/7/24, Elliot P <elliot...@gmail.com>:

Serj Kalichev

unread,
Jul 26, 2012, 8:14:08 AM7/26/12
to kl...@googlegroups.com
Yes. The klish has installation problems on Ubuntu 12.04

2012/7/26, Serj Kalichev <serj.k...@gmail.com>:

serj.k...@gmail.com

unread,
Aug 14, 2012, 10:11:35 AM8/14/12
to kl...@googlegroups.com
The bug was fixed in the current git repository.
Probably klish has some problems with multi-job make while installation.
The autotools has a known bug. It doesn't use dependencies while
installation libtool libraries and relinking them.
But 'make install' without '-j<num>' works fine now.

Thanks for the bug report.

Anil Vishnoi

unread,
Aug 14, 2012, 2:59:27 PM8/14/12
to kl...@googlegroups.com

Hi Serj,

I download the code from master branch and did following step

./autogen.sh

./configure
make
sudo make install

all command finished successfully. When i tried to run 'clish', it thrown me following error

avishnoi@avishnoi:~/git/klish$ clish
clish: error while loading shared libraries: libclish.so.0: cannot open shared object file: No such file or directory

I am using ubuntu 11.10

avishnoi@avishnoi:~/git/klish$ uname -a
Linux avishnoi 3.0.0-19-generic-pae #33-Ubuntu SMP Thu Apr 19 20:59:10 UTC 2012 i686 i686 i386 GNU/Linux

And idea what can be the possible issue. Previously i was facing the same issue which is reported above, and with latest code that issue got resolved, but got into this new issue.

Anil

serj.k...@gmail.com

unread,
Aug 15, 2012, 3:17:30 AM8/15/12
to kl...@googlegroups.com, Anil Vishnoi
Hi

I have checked it on Ubuntu server 12.04 and Ubuntu server 10.04.
It works.
Unfortunatelly I have not Ubuntu 11.10

Probably you have wrong prefix. By default ./configure will configure :) project to install to /usr/local but you have not PATH or LD_LIBRARY_PATH environment variables for /usr/local.
I use ./configure --prefix=/usr
May be you have some old klish installation...
Try it on clean environment and --prefix=/usr
Reply all
Reply to author
Forward
0 new messages