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$ |
What does...
Code:
hash |
Since it's trying to grab /usr/local/bin/vpnclient, what is the output of
Code:
$ file /usr/local/bin/vpnclient |
Hi T3slider, Here is a result of the file command.
Code:
bash-3.1$ file /usr/local/bin/vpnclient |
Hi Richard,
Here is a result of running hash; type vpnclient Code:
bash-3.1# hash |
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.
|
You're running Slackware64, yet the vpnclient is a 32-bit program. Did you make your system multilib?
Adam |
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 |
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.
|
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 |
All times are GMT -5. The time now is 12:50 PM. |