DevTech101

DevTech101

music

Adding a library to the Solaris install path

To compile VLC you will need ffmpeg which includes some missing library’s Copy / link the “.pc” of the missing library to the pkg-config directory. For example for libavformat we will need the libavformat.pc cd /usr/lib/pkgconfig ln -s /opt/SMM/ffmpeg-text/lib/pkgconfig/libavformat.pc verify it works. pkg-config –modversion libavformat To create your own “.pc” file prefix=/opt/csw exec_prefix=${prefix} libdir=${prefix}/lib includedir=${prefix}/include …

Adding a library to the Solaris install path Read More »

How to install ffmpeg on Solaris 12

To install ffmpeg from source you will need. set the LD path export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib Install fdk-aac git clone git://github.com/mstorsjo/fdk-aac cd fdk-aac ./configure –prefix=/usr –disable-shared make make install Install x264 CC=gcc CFLAGS=-m64 CXXFLAGS=-m64 LDFLAGS=-m64 ./configure –enable-static –enable-shared make make install Install xvidcore cp platform.inc platform.inc-org Modify version line to –version-script=libxvidcore.ld -z gnu-version-script-compat CC=gcc CFLAGS=-m64 CXXFLAGS=-m64 LDFLAGS=-m64 …

How to install ffmpeg on Solaris 12 Read More »

RDP rdesktop with remote sound support

To use RDP or rdesktop with remote sound support, it will only work if used with -r disk… full syntax below user_pass=`env |grep http_proxy |awk -F\: ‘{print $3}’|awk -F\@ ‘{print $1}’` rdesktop -u domain\\user -g 1280×960 -a 16 -0 -r clipboard:CLIPBOARD -r sound:local:oss -r disk:tmp=/tmp -p $user_pass -5 $1