Raised This Month: $32 Target: $400
 8% 

Linux: vcpm: error while loading shared libraries


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
_sk_
New Member
Join Date: Dec 2004
Old 12-08-2004 , 12:05   Linux: vcpm: error while loading shared libraries
Reply With Quote #1

I want to compile my mod on linux but i have problems with the compiled vcpm.

Code:
./vcpm ../dlls/hl_sdk.vcproj
./vcpm: error while loading shared libraries: tier0_i486.so: cannot open shared object file: No such file or directory
the file tier0_i486.so is in the directory i run the vcpm executable

Code:
ls -l
total 964
-rwxr--r--  1 seek seek   3832 Dec  8 13:22 Makefile
-rwxr--r--  1 seek seek    640 Dec  7 19:56 Makefile.mod
-rwxr--r--  1 seek seek   1674 Dec  7 19:56 Makefile.plugin
-rwxr--r--  1 seek seek   1735 Dec  7 19:56 Makefile.vcpm
drwxr-xr-x  3 seek seek   4096 Dec  8 13:22 obj
lrwxrwxrwx  1 seek seek     41 Dec  8 10:03 tier0_i486.so -> /xxx/hl2/server/bin/tier0_i486.so
-rwxr-xr-x  1 seek seek 962117 Dec  8 13:22 vcpm
lrwxrwxrwx  1 seek seek     43 Dec  8 10:03 vstdlib_i486.so -> /xxx/hl2/server/bin/vstdlib_i486.so


i have all Requirements except the glibc version. (http://www.valve-erc.com/srcsdk/linux_compiling.html)
i use glibc 2.2. could this be my problem?
_sk_ is offline
Tobiking
New Member
Join Date: Dec 2004
Old 12-08-2004 , 12:18  
Reply With Quote #2

You must edit the Makefiles. I needed 3 days before get everything to work .

The Problem of vcpm was for me in the file Makefile.vcpm line 22.

Quote:
LDFLAGS_VC=-lm -ldl -L$(XERCES_LIB_DIR) -lxerces-c $(GAME_DIR)/bin/tier0_i486.so $(GAME_DIR)/bin/vstdlib_i486.so
For me $(Game_DIR) was not correct set and i erased it and changed to the correct path.
Tobiking is offline
DopeFish
Senior Member
Join Date: Feb 2004
Old 12-08-2004 , 12:19   Re: Linux: vcpm: error while loading shared libraries
Reply With Quote #3

Quote:
Originally Posted by _sk_
Code:
./vcpm ../dlls/hl_sdk.vcproj
./vcpm: error while loading shared libraries: tier0_i486.so: cannot open shared object file: No such file or directory
i have all Requirements except the glibc version. (http://www.valve-erc.com/srcsdk/linux_compiling.html)
i use glibc 2.2. could this be my problem?
yes, if you do a ldd tier0_i486.so you will see that it requires a glibc 2.3.2 or higher.
DopeFish is offline
Send a message via ICQ to DopeFish
cheesebanana
New Member
Join Date: Dec 2004
Old 12-08-2004 , 12:48  
Reply With Quote #4

glib3.4.5 and later only
cheesebanana is offline
DopeFish
Senior Member
Join Date: Feb 2004
Old 12-08-2004 , 13:19  
Reply With Quote #5

hmm, I just noticed that tier0_i486.so doesn't require a 2.3 glibc.
It would seem your path to the libraries is wrong or missing (as Tobiking posted).
DopeFish is offline
Send a message via ICQ to DopeFish
Tobiking
New Member
Join Date: Dec 2004
Old 12-08-2004 , 15:23  
Reply With Quote #6

And i noticed that i also copied the two liberies in the /lib where the most system libaries are. Don't know if it is neccesary.
Tobiking is offline
_sk_
New Member
Join Date: Dec 2004
Old 12-08-2004 , 17:43  
Reply With Quote #7

i solved the problem with
export LD_LIBRARY_PATH=.
_sk_ is offline
Reply


Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 23:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode