LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-01-2007, 12:35 AM   #1
amitabhishek
Member
 
Registered: Jul 2006
Location: Bombay, India
Distribution: Ubuntu (Hardy Heron)
Posts: 118

Rep: Reputation: 15
Unhappy Unable to run my broadband client in Ubuntu


Hi,

I am a Sify broadband customer and use a Ubuntu Distro. Things went bad when I switched from Suse Linux to Ubuntu. After installation I cannot run the broadband client. I get this response whenever I try to connect:

amit@amit-desktop:~/Desktop$ cd sify_bbclient-3.0
amit@amit-desktop:~/Desktop/sify_bbclient-3.0$ sudo ./install.sh
Password:
Sify Broadband Client Installed Successfully
amit@amit-desktop:~/Desktop/sify_bbclient-3.0$ sifyconnect
sifyconnect: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
amit@amit-desktop:~/Desktop/sify_bbclient-3.0$

Post this I successfully installed openssl-0.9.8e but the error remain unchanged.My service provider also wanted gtk+-2.11.0 as a prerequisite which I tried installing and I got this response:

amit@amit-desktop:~/Desktop/Apps/gtk+-2.11.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for native Win32... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
amit@amit-desktop:~/Desktop/Apps/gtk+-2.11.0$


Can anyone please please please help.

Thanks in advance.
 
Old 10-01-2007, 01:29 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
If you are using ubuntu why not install the pre-requisites the 'Ubuntu' way.. (If you wish to compile everything you install you probably want slackware or Gentoo..., although tieir package managers still handle most of that for you )

Code:
default@debianetch:~$ aptitude search libssl
p   libssl-dev                      - SSL development libraries, header files an
p   libssl-ocaml                    - OCaml bindings for OpenSSL
p   libssl-ocaml-dev                - OCaml bindings for OpenSSL
p   libssl0.9.7                     - SSL shared libraries
p   libssl0.9.7-dbg                 - Symbol tables for libssl and libcrypt
i   libssl0.9.8                     - SSL shared libraries
p   libssl0.9.8-dbg                 - Symbol tables for libssl and libcrypt
Make sure you have everything for your build environment
sudo apt-get install build-essential

Install the requested pre-requisites
sudo apt-get install libssl-dev libssl0.9.8

I included the -dev package since you are trying to build something that wants ssl, it may need the dev packages if it is building against that library.

lather, rinse, repeat, for each requirement

Last edited by farslayer; 10-01-2007 at 01:32 AM.
 
Old 10-01-2007, 01:36 AM   #3
amitabhishek
Member
 
Registered: Jul 2006
Location: Bombay, India
Distribution: Ubuntu (Hardy Heron)
Posts: 118

Original Poster
Rep: Reputation: 15
I just want to connect to internet . But I don't know why it

says:sifyconnect: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory.

Is libssl and openssl same? what do I do to get around this message?
 
Old 10-01-2007, 02:26 AM   #4
amitabhishek
Member
 
Registered: Jul 2006
Location: Bombay, India
Distribution: Ubuntu (Hardy Heron)
Posts: 118

Original Poster
Rep: Reputation: 15
aptitude search libssl. Tried it. I am getting segmentation fault (core dumped) as an error. Also sudo apt-get install libssl-dev libssl0.9.8 is not working its unable to find ssl directory. Please help.
 
Old 10-01-2007, 03:19 AM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Please post the commands which caused the error, and the full error message.
 
Old 10-01-2007, 01:54 PM   #6
amitabhishek
Member
 
Registered: Jul 2006
Location: Bombay, India
Distribution: Ubuntu (Hardy Heron)
Posts: 118

Original Poster
Rep: Reputation: 15
sifyconnect: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory


This is the root of all my problems.
 
Old 10-01-2007, 02:47 PM   #7
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
No, what you said about getting an error when trying to install libssl.
 
Old 10-02-2007, 02:19 AM   #8
amitabhishek
Member
 
Registered: Jul 2006
Location: Bombay, India
Distribution: Ubuntu (Hardy Heron)
Posts: 118

Original Poster
Rep: Reputation: 15
My service provider has given me a dialer(as tar.gz), which gets installed successfully. However when I try to run the dialer in Ubuntu it says:

says:sifyconnect: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory.

"Sifyconnect" is the name of the executable file.
 
Old 10-02-2007, 04:02 AM   #9
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
When you answer my questions, I can continue to help you. Until then have a lot of fun.
 
Old 10-02-2007, 07:13 AM   #10
amitabhishek
Member
 
Registered: Jul 2006
Location: Bombay, India
Distribution: Ubuntu (Hardy Heron)
Posts: 118

Original Poster
Rep: Reputation: 15
I didn't get any error as such, but nothing happened either. This is the output:

amit@amit-desktop:~$ cd Desktop
amit@amit-desktop:~/Desktop$ sudo dpkg -i libssl0.9.8_0.9.8c-4_i386.deb
Password:
dpkg - warning: downgrading libssl0.9.8 from 0.9.8c-4build1 to 0.9.8c-4.
(Reading database ... 88015 files and directories currently installed.)
Preparing to replace libssl0.9.8 0.9.8c-4build1 (using libssl0.9.8_0.9.8c-4_i386.deb) ...
Unpacking replacement libssl0.9.8 ...
Setting up libssl0.9.8 (0.9.8c-4) ...

amit@amit-desktop:~/Desktop$

My broadband client continue to give the same error.
 
Old 10-02-2007, 08:04 AM   #11
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I don't understand why you are installing libssl from a .deb file and not automatically using the repositories. Ditto for building gtk from source. There are packages for these in the Ubuntu repositories so you can install both of them through synaptic.

It is not clear from the previous posts if the software your ISP is providing needs to be built, or if it is a binary. If you are going to build it, and it uses libssl and libgtk2.0, you need more than the runtime libraries. On Debian-based systems (including Ubuntu), libraries are split into the runtime version (in this case libssl), and the development package (libssl-dev). You'll need the libssl-dev and libgtk2.0-dev too if you intend to build software which uses these libraries.

If however it is a binary (which seems more likely to me), the problem seems to be that the binary is expecting the libssl shared library file to be called libssl.so.4 - the .4 part not being present in the Ubuntu libssl package.

There is a simple (if ugly) solution to this (which may work depending on what version of libssl their binary requires). In your /usr/lib directory, create a symbolic link called libssl.so.4 pointing at the libssl.so file:
Code:
sudo ln -s /usr/lib/libssl.so /usr/lib/libssl.so.4
This is ugly, and probably inadvisable, but it might help.
 
Old 10-02-2007, 09:22 AM   #12
amitabhishek
Member
 
Registered: Jul 2006
Location: Bombay, India
Distribution: Ubuntu (Hardy Heron)
Posts: 118

Original Poster
Rep: Reputation: 15
Smile

Thanks a lot! it worked! Your "ugly" method worked! I am posting this thru ubuntu.
 
Old 10-02-2007, 10:03 AM   #13
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
yay!

It's a binary then?
 
Old 10-02-2007, 10:57 AM   #14
amitabhishek
Member
 
Registered: Jul 2006
Location: Bombay, India
Distribution: Ubuntu (Hardy Heron)
Posts: 118

Original Poster
Rep: Reputation: 15
Yup (Thank God!)! This will help a lot of other hapless customers of Sify.
 
Old 10-30-2007, 06:13 AM   #15
Krishnan.V
LQ Newbie
 
Registered: Oct 2007
Posts: 23

Rep: Reputation: 15
Hi Matthew i tried to create a symbolic link
sudo ln -s /usr/lib/libssl.so /usr/lib/libssl.so.4
Now when i enter this link i get the following error
sudo ln -s /usr/lib/libssl.so /usr/lib/libssl.so.4ln: creating symbolic link `/usr/lib/libssl.so.4' to `/usr/lib/libssl.so': File exists

And when i enter Sify Connect. I get this error
sifyconnect: error while loading shared libraries: /usr/lib/libssl.so.4: file too short..
Please help me
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to run Parallels in Ubuntu vietvet Linux - Software 1 06-14-2007 03:34 PM
unable to install or run live ubuntu CD billb333 Linux - Newbie 3 07-20-2006 01:46 AM
Unable to connect to net through broadband in FC4. opensourceguy Linux - Newbie 3 04-24-2006 12:10 AM
problem with broadband client duffmckagan SUSE / openSUSE 2 03-04-2005 03:29 AM
thunderbird unable to send mail - university broadband phoenixtx Linux - Software 3 09-02-2004 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration