Hi,
 Thanks for your reply. I did followed all the steps and still same error. I think the problem is not with loading the libraries there is some other error. Plz see the out put again and help me.. My OS is Fedora Core 5.
why I am getting this error "cannot restore segment prot after reloc: Permission denied".

These are the commands i issued

[root@localhost bin]# LD_LIBRARY_PATH=/usr/local/freeswitch/lib
[root@localhost bin]# ./freeswitch
./freeswitch: error while loading shared libraries: /usr/local/freeswitch/lib/libfreeswitch.so.1: cannot restore segment prot after reloc: Permission denied
[root@localhost bin]# echo $LD_LIBRARY_PATH
/usr/local/freeswitch/lib


I also tried the ldconfig procedure and same results.

Anthony Minessale <anthmct@yahoo.com> wrote:
Hi,
 
You can call make nodepends to deactivate all the autobuilding features but it's much harder
to build then.
 
as for the mission .so
 
add $prefix/lib to your LD_LIBRARY_PATH
 
If you build to the default location /usr/local/freeswitch
add /usr/local/freeswitch/lib to ld.so.conf and run ldconfig
 
or set it from the command line
 
$ LD_LIBRARY_PATH=/usr/local/freeswitch/lib /usr/local/freeswitch/bin/freeswitch
 
or set it as an environment variable from a prompt or in your shell rc file
 
export LD_LIBRARY_PATH=/usr/local/freeswitch/lib
 

 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

MSN:anthony_minessale@hotmail.com
JABBER:anthony.minessale@gmail.com

FreeSWITCH Developer Conference
sip:888@66.250.68.194
pstn:712-432-7800


----- Original Message ----
From: Abdul Qadir <ablqadir@yahoo.com>
To: freeswitch-users@lists.freeswitch.org
Sent: Thursday, July 13, 2006 12:08:52 AM
Subject: [Freeswitch-users] freeswitch startup issue

Hi !
  Luckly freeswitch installed on my system after downloading other libraries. But when i run freeswitch I get this error

./freeswitch: error while loading shared libraries: /usr/local/freeswitch/lib/libfreeswitch.so.1: cannot restore segment prot after reloc: Permission denied

Any idea how to solve this problem.


Best Regards,
Abdul Qadir

Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Want to be your own boss? Learn how on Yahoo! Small Business.