How to install sharedhostffmpeg on a host running redhat linux while not being root?
I'm on a shared host that is running on Red Hat 4.4.7-3.
All these packages have successfully installed: - presetup.sh, autoconf.sh, automake.sh, libtool.sh, libiconv.sh, libpng.sh, libjpeg.sh, zlib.sh, libwmf.sh, freetype.sh, gettext.sh, gd.sh, ruby.sh, flvtool2.sh, lame.sh, codecs.sh, libogg.sh, libvorbis.sh, vorbis-tools.sh, libtheora.sh, amrnb.sh, amrwb.sh, liba52.sh, facc.sh, faad2.sh.
That's exactly all the files just before ffmpeg itself!
I know the error has to do with a library. However, I'm not familiar with libraries. The error message says:
/usr/bin/ld: /home/xxxxx/lib/libz.a(compress.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /home/xxxxx/lib/libz.a: could not read symbols: Bad value
BUT, when I look at my zlib log file(sharedhostffmpeg.1.0.2.log.15939), no errors show up.
Does anyone know how to recompile with fPIC?
Thank you so much unSpawn.
I did what you told me to:
./configure --prefix=$HOME --enable-shared
in the "zlib.sh" shell script. It seemed to work well.
However this time I get:
cp zlib.h zconf.h /home/xxx/include
chmod 644 /home/xxx/include/zlib.h /home/xxx/include/zconf.h
cp libz.a /lib
cp: cannot create regular file `/lib/libz.a': Read-only file system
make: *** [install] Error 1
I understand a bit :
It's trying to make the libz.a file in the regular script files for the system. But keep in mind that this is a shared host on a web hosting company.
They hosting company don't want to help.
Is their a way to make it create that lib script in another location and still make it work?
And if so, do you know how?
People say they solve library issues like mine using symlinks.
Does that make sense?
1 exemple I kept : http://www.linuxquestions.org/questi...-lxext-365646/
|All times are GMT -5. The time now is 11:09 PM.|