Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Exec Format Error. Binary File Not Executable.
david_harvey
post Jul 14 2004, 12:07 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-July 04
Member No.: 3,338



Ok, well thats the error i get when i try to "./ventrilo_srv" .
I never have gotten this error before, and I even had ventrilo working on my server before.

I have no idea why all of the sudden it is giving me the error but also, when i tried to run
"./hlds_l_1120_full.bin" it gives me the same error. The accesses are set and I have full superuser access. I am running FreeBSD on a remote server.

Please help me, im paying for this server and all it has done is give me a big headache.

EDIT: Instead of the FreeBSD ventrilo server i tried the linux one and now i get this error:

"/usr/libexec/ld-elf.so.1: Shared object "libstdc++.so.3" not found"
How can I fix it?


Thanks
Dave
Go to the top of the page
 
+Quote Post
david_harvey
post Jul 14 2004, 01:14 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-July 04
Member No.: 3,338



I tried to run Halflife Server and got this
CODE
# ./hlds_l_1120_full.bin

ELF binary type "0" not known.

./hlds_l_1120_full.bin: Exec format error. Binary file not executable.


Diffirent File but same error, could it be a system file was changed that isnt allowing me to open them?

dave
Go to the top of the page
 
+Quote Post
Hemant
post Jul 15 2004, 12:10 AM
Post #3


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



Looks like....your system was screwed up..
Somehow shared library path is not proper.you can set LD_LIBRARY_PATH variable to /usr/lib or something(where your libs are)

You can also try command "ldconfig" .


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post
david_harvey
post Jul 15 2004, 12:22 AM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-July 04
Member No.: 3,338



sad.gif no luck, if i wanted to do a "repair" on my os is there a command i can do? I really dont care about losing any data on there I just want it to be like it was the day I got the server, things were working fine and then one day I hit ee hostname and the editor went crazy then i hit escape and it asked me to save the file, accidently i hit ok (somehow i changed something in the file prompting it to ask me to save) then things went downhill, and i copied the hostname file from the rescue folder and it still is not cooperating sad.gif
Go to the top of the page
 
+Quote Post
dlab
post Jul 15 2004, 01:01 AM
Post #5


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175



These are the steps I would have taken to get this working on mmy machine:

CODE
root@abyss:~# locate -u
(wait a few minutes)
root@abyss:~# locate libstdc++
/opt/kde/share/apps/kdevdoctreeview/tocs/libstdc++.toc
/opt/kde/share/apps/devdoctreeview/indices/libstdc++.index
/opt/openoffice/program/libstdc++.so
/opt/openoffice/program/libstdc++.so.5
/usr/doc/gcc-3.2.3/libstdc++-v3
/usr/doc/gcc-3.2.3/libstdc++-v3/README
/usr/doc/gcc-3.2.3/libstdc++-v3/faq.html
/usr/lib/libstdc++.la
/usr/lib/libstdc++.so
/usr/lib/libstdc++.a
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.3
/usr/i486-slackware-linux/lib/libstdc++-3-libc6.1-2-2.10.0.so
/usr/i486-slackware-linux/lib/libstdc++.so.2.7.2.8
/usr/i486-slackware-linux/lib/libstdc++-2-libc6.1-1-2.9.0.so
/usr/i486-slackware-linux/lib/libstdc++-3-libc6.2-2-2.10.0.so
/usr/i486-slackware-linux/lib/libstdc++.so.4
/usr/i486-slackware-linux/lib/libstdc++-libc6.2-2.so.3
/usr/i486-slackware-linux/lib/libstdc++.so.2.8
/usr/i486-slackware-linux/lib/libstdc++.so.2.9
/usr/i486-slackware-linux/lib/libstdc++.so.2.7.2
/usr/i486-slackware-linux/lib/libstdc++.so.2.8.0
/usr/i486-slackware-linux/lib/libstdc++.so.2.9.0
/usr/i486-slackware-linux/lib/libstdc++.so.4.0.0
/usr/i486-slackware-linux/lib/libstdc++-libc6.1-1.so.2
/usr/i486-slackware-linux/lib/libstdc++-libc6.1-2.so.3
/usr/share/locale/de/LC_MESSAGES/libstdc++.mo
/usr/share/locale/fr/LC_MESSAGES/libstdc++.
root@abyss:~# cd /etc
root@abyss:/etc# vi ld.so.conf
(should open a list of directories)
e.g.:
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
/usr/local/lib/pkgconfig/

if you can't find the dir where libstdc++.so.4 is in the list of dirs in vi, type the letter i (to instert stuff in vi) scroll down to the bottom of the list and enter the directory there libstdc resides, for example, mine is /usr/i486-slackware-linux/lib/. After you are done, hit escape and type a colon ":" followed by "w" to write. then type "q" to quit. If you dont want to save the changes to the file, just type "q!" (with an !) and it should return you to your shell.
CODE
root@abyss:/etc# ldconfig
(wait a few minutes)


See if that fixes it. If it doesn't, I'm out..


--------------------
The computer is the ultimate polluter, its s__t is indistinguishable from the food it produces.
user posted image--Found somewhere in the Fortune game.
Go to the top of the page
 
+Quote Post
david_harvey
post Jul 15 2004, 01:12 AM
Post #6


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-July 04
Member No.: 3,338



none of those commands did anything... is it because im using freebsd, or because i am using ssh, or my os is just screwed up.... I really have no clue.
Go to the top of the page
 
+Quote Post
dlab
post Jul 15 2004, 01:17 AM
Post #7


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175



none of them? maybe your PATH variable is screwed up also..

CODE
root@abyss:~# export PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin


and then try the above again.

I think fbsd has vi, I know netbsd does..


--------------------
The computer is the ultimate polluter, its s__t is indistinguishable from the food it produces.
user posted image--Found somewhere in the Fortune game.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th December 2017 - 03:46 PM