ok. i have compiled vlc on another machine with the same o/s but im having problem with the shared libraries on the o/s which i copied the files to.the error i get is below: /home/jQKuDGtE/vlc-0.9.6/bin/.libs/lt-vlc: error while loading shared libraries: libvlc.so.2: cannot open shared object file: No such file or directory is there a way to compile vlc by telling vlc no to create shared libraries? Rupert Wood wrote: > > Some user wrote: > >> i d/l the .tar.bz2 and i cant install RPM or use the yum command >> since i don’t have root access. is there still a way to install gcc > > You need to start with a GCC binary. CentOS's gcc package isn't > relocatable so you can't install that in your home directory. The Libre > Adacore GNAT distribution is (or was) relocatable so you could try that > (https://libre.adacore.com/) to get a C compiler in your home directory - > it's a GCC build specifically to provide an Ada compiler but it does have > a C compiler too. > > But you really don't want to do that. You will also need other packages > such as the glibc headers and headers for all the X libraries to build > vlc. Sure, you could get those somehow and rebuild yourself the right > version of GCC for your system to get a C++ compiler but it's going to be > a real headache. Just talk to your system admin and ask them to install > the compiler and development packages you need. If they won't, get your > own install of the same CentOS version where you do have root (as a > virtual machine, say) and build vlc there. > > Rup. > > > > ----- -- http://www.vic-fontaine.com/ http://www.vic-fontaine.com/ -- View this message in context: http://www.nabble.com/trying-to-compile-vlc-with-gcc-tp20238932p20429693.html Sent from the gcc - Help mailing list archive at Nabble.com.