LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-21-2010, 10:01 PM   #1
hucphin
LQ Newbie
 
Registered: Jun 2006
Location: Wisconsin
Distribution: Slackware
Posts: 16

Rep: Reputation: 1
very unusual PATH problems with Slackware64-13.0: No such file or directory


Hey Slackers,

Gee, I am a little embarassed to ask this question, but I just don't know what the issue is. I am working on getting my software packages installed on my fresh Slackware64-13.0 installation. Some (but definitely not all) of my executables are unable to be run.

I understand what PATH is for. It is for locating files, folders, executables in those directories when running from a Terminal window.

So, for example, I have just installed Cisco VPN Client for Linux, and it is the strangest thing. I should have access to this. I must not be understanding something here. Does anyone have any idea why this is not working for me? I have put in an example of what I am talking about. I have no idea why this is not working, and it is frustrating.

huckphin@slackbox:/opt/cisco/vpn/bin$ whoami
huckphin
huckphin@slackbox:/opt/cisco/vpn/bin$ pwd
/opt/cisco/vpn/bin
huckphin@slackbox:/opt/cisco/vpn/bin$ echo $PATH
/home/huckphin/chrome/depot_tools:/usr/local/bin:/usr/bin/:/bin:/usr/games:/usr/lib64/java/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin:/opt/cisco/vpn/bin/
huckphin@slackbox:/opt/cisco/vpn/bin$ whereis vpnclient
vpnclient: /usr/local/bin/vpnclient /opt/cisco-vpnclient/bin/vpnclient
huckphin@slackbox:/opt/cisco/vpn/bin$ ls -l
total 9328
-rwxr-xr-x 1 root root 807296 2010-04-20 23:36 manifesttool
-rwxr-xr-x 1 root root 2330376 2010-04-20 23:36 vpn
-rwxr-xr-x 1 root root 4748 2010-04-20 23:36 vpn_uninstall.sh
-rwsr-xr-x 1 root root 1719832 2010-04-20 23:36 vpnagentd
-rwxr-xr-x 1 root root 2206996 2010-04-20 23:36 vpndownloader
-r--r--r-- 1 root root 75 2010-04-20 23:36 vpndownloader.sh
-rwxr-xr-x 1 root root 2467500 2010-04-20 23:36 vpnui
huckphin@slackbox:/opt/cisco/vpn/bin$ vpnclient
bash: /usr/local/bin/vpnclient: No such file or directory
huckphin@slackbox:/opt/cisco/vpn/bin$
 
Old 04-21-2010, 10:08 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,473

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
What does...
Code:
hash
type vpnclient
...give you?
 
1 members found this post helpful.
Old 04-21-2010, 10:15 PM   #3
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,247

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Since it's trying to grab /usr/local/bin/vpnclient, what is the output of
Code:
$ file /usr/local/bin/vpnclient
You say Slackware64-13.0. Is it a 32-bit executable or 64-bit? If 32-bit then you need multilib working properly (or get a 64-bit copy if it exists).
 
1 members found this post helpful.
Old 04-22-2010, 11:19 AM   #4
hucphin
LQ Newbie
 
Registered: Jun 2006
Location: Wisconsin
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 1
Hi T3slider, Here is a result of the file command.

Code:
bash-3.1$ file /usr/local/bin/vpnclient
/usr/local/bin/vpnclient: symbolic link to `/opt/cisco-vpnclient/bin/vpnclient'
bash-3.1$ file /opt/cisco-vpnclient/bin/vpnclient
/opt/cisco-vpnclient/bin/vpnclient: executable, regular file, no read permission
bash-3.1$ su
Password: 
bash-3.1# file /opt/cisco-vpnclient/bin/vpnclient
/opt/cisco-vpnclient/bin/vpnclient: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
 
Old 04-22-2010, 11:21 AM   #5
hucphin
LQ Newbie
 
Registered: Jun 2006
Location: Wisconsin
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 1
Hi Richard,

Here is a result of running hash; type vpnclient

Code:
bash-3.1# hash 
hits	command
   1	/usr/bin/file
bash-3.1# type vpnclient
vpnclient is /usr/local/bin/vpnclient
 
Old 04-22-2010, 11:55 AM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,473

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
If /usr/local/bin/vpnclient is a script, then the message may be coming from within the script where it isn't finding a file.
 
1 members found this post helpful.
Old 04-22-2010, 01:22 PM   #7
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
You're running Slackware64, yet the vpnclient is a 32-bit program. Did you make your system multilib?

Adam
 
Old 04-22-2010, 08:25 PM   #8
hucphin
LQ Newbie
 
Registered: Jun 2006
Location: Wisconsin
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 1
No, I did not make it multilib. By that do you mean do I have 32-bit libraries as well? I am not sure on how I can make it multilib. But, you know what? What you say makes a lot of sense.

I found this resource online from Alien Pastures: http://alien.slackbook.org/blog/multilib-slackware64/ In this article about multilib-slackware64, Eric Hameleers explains that Pat Volkerding wanted a pure 64-bit Operating System. IMHO I think that it is great to push software to be 64-bit supported, but when software is not made for 64-bit, it just frustrates us. That's OK, though. Being a Slacker, I feel like I have always been ahead of the curve!

Even still, some programs that I live by are not available in 64-bit that I would enjoy. Maybe I should take the initiative and get the 64-bit versions available for the programs I need! These include Thunderbird 3 (for work, I cannot live without my calendaring system), and Cisco VPN Client (I need to VPN into work). I am also running into issues running both pidgin and pidgin-otr (although, I think that this is related to gnutls as far as I can tell from the debugging.). These programs are vital to my productivity at work, and are a real pain that they are not working.

In the blog entry, Eric has a link to the instructions to make Slackware64 multilib-compatibile. I will try this out, and see if it works. Hopefully, I'll be able to finish this up tonight yet. We'll see. Here's the link for the instructions: http://alien.slackbook.org/dokuwiki/...kware:multilib

~Huck
 
Old 04-22-2010, 08:49 PM   #9
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,473

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Do you have a server that you log into within your corporate firewall? If so (and ssh is available there), you could run a 32 bit Slax image under qemu, open the VPN there, log into work, and then reverse tunnel onto your local machine.
 
1 members found this post helpful.
Old 04-22-2010, 09:13 PM   #10
hucphin
LQ Newbie
 
Registered: Jun 2006
Location: Wisconsin
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 1
Hi Richard,

Sadly, at the moment, I only have this laptop for work. Thank you for the suggestion, though. Maybe I should see about getting a server in the lab!

~Huck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Perl, Removing file from path to get directory only xemous Programming 8 04-11-2012 11:13 AM
Get the absolute path of the latest file modified on a directory mortonmorton Linux - Newbie 2 10-15-2009 09:05 PM
List file names in a directory WITHOUT the path dexus Linux - Newbie 13 06-13-2009 07:22 PM
Find a file path and directory path ak.lokesh Linux - Newbie 3 02-19-2009 12:37 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration