Skip to content

ixed.5.2.ope: Cannot load specified object

在OpenBSD上安装VIMP的时候sourceguardian 的loader报错: # ./symfony framework:init mysql://user:[email protected]/db Failed loading /usr/local/lib/php-5.2/modules/ixed.5.2.ope:  Cannot load specified object 为啥不能加载呢? 根据这个链接,打开PHP的debug看看: # LD_DEBUG=1 php -m 2>&1 | grep fail dlopen: failed to open libc.so.50.1 dlopen: /usr/local/lib/php-5.2/modules/ixed.5.2.ope: done (failed). # 原来是无法找到libc.so.50.1 系统上的libc呢? # ls /usr/lib/libc.so* /usr/lib/libc.so.60.1 这样做个软连接就可以了:…

Read more

OpenBSD frequently used commands

在使用系统的时候碰到一些不常用的命令经常要去看man手册。为了免去这个麻烦,最近抽空把自己常用的命令汇总了一下,做成PDF文档。希望对其他的朋友也能有所帮助。 这个文档将会不定期更新,会再增加诸如date,uname等常用命令。 2012.02.27: 更新下载链接,新版修正了前面的版本中的一个笔误(关于使用FLAVOR安装PACKAGE) 2012.06.18: 更新至v0.9.4版,新增了PF,MISC,TMUX,进程管理,其它也有一些小的更新。 下载v0.9.4

Read more

faac and the malformated aac bit stream error

在OpenBSD上编译了ffmpeg后,VIMP在转码的时候无法将mp4文件转换为m4v格式。手工执行同样的命令出现类似下面的错误: malformated aac bit stream , use -absf aac_adtstoasc av_interleaved_write_frame(): Operation not permitted   折腾了半天才发现,可能是OpenBSD 5.0的faac-2.18p2软件包的问题,将它卸载后重新编译faac软件后转码成功。 至此,VIMP2.2可以在OpenBSD 上运行了。 http://kdump.no-ip.org/

Read more

building MPlayer-1.0rc4 on openbsd 5.0

首先,建议使用openbsd 的package安装,而不是从源码编译,除非里面的mplayer确实不适用。 source file: http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2   编译之前,先下载: http://www2.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2 然后解压至/usr/local/lib/codecs文件夹 configure选项: –codecsdir=/usr/local/lib/codecs –extra-cflags=-I/usr/local/include –extra-ldflags=-L/usr/local/lib gmake && gmake install  #(gmake, not make)   如果出现: network.h:69: error: redefinition of ‘struct sockaddr_storage’ 编辑 libavformat/network.h文件,在文件前面添加: #define HAVE_STRUCT_SOCKADDR_STORAGE 1   在AMD64平台上,你可能会遇到下面的错误: {standard input}: Assembler messages: {standard input}:18: Error:…

Read more

build php-5.3.8 on OpenBSD 5.0

由于要配合nginx使用php-fpm,于是自己编译php-5.3.8。 在make的时候出现如下错误: ext/iconv/iconv.c:615: undefined reference to `iconv’ google了一下,说是在make的时候要加上参数 EXTRA_CFLAGS=-liconv,或者是修改Makefile,但是依然不行。 最后,删除config.cache, 运行make clean,加上“–with-iconv=/usr/local”参数重新configure,然后make &&  make install 成功。 configure参数如下,仅供参考: ./configure’ ‘–enable-fpm’ ‘–with-fpm-user=_nginx’ ‘–with-fpm-group=_nginx’ \ ‘–enable-mbstring’ ‘–with-mysqli’ ‘–with-mysql’ ‘–with-pdo-mysql’ ‘–with–openssl’ \ ‘–with-curl’ ‘–with-xsl’ ‘–enable-mbstring’ ‘–with-zlib’ ‘–with-bz2’ ‘–with-mhash’ \ ‘–with-mcrypt’ ‘–with-iconv=/usr/local’ 2011/11/29 更新:目前已经有php-fpm软件包,无需自己编译了。

Read more

install flvtool2 on OpenBSD 5.0

cd /usr/src/ pkg_add -v ruby-1.8 ftp http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz tar xzf flvtool2-1.0.6.tgz cd flvtool2-1.0.6 ruby setup.rb config ruby setup.rb setup ruby setup.rb install cd ..

Read more

VCS cheat sheet

http://www.datadisk.co.uk/html_docs/veritas/veritas_cluster_cs.htm VCS uses two components, LLT and GAB to share data over the private networks among systems. These components provide the performance and reliability required by VCS. LLT LLT (Low Latency Transport) provides fast, kernel-to-kernel comms and monitors network connections….

Read more

Basic LLT trouble shooting

http://www.bakercomputeranddata.com/doc/misc/veritas_vcs_llt_trblsht – Ensure that /etc/llthosts are the same on all nodes. If not fix, restart. (See 233032). – Ensure that /etc/llttab is the same except the “set-node” line. – Ensure that “eeprom local-mac-address?” is true. Later trouble shooting, and performance…

Read more

compile qt-faststart on openbsd 5.0

  git clone git://git.videolan.org/ffmpeg.git  cd ffmpeg  ./configure –enable-gpl –enable-version3 –enable-nonfree –enable-postproc \ –enable-libfaac –enable-libmp3lame –enable-libopencore-amrnb \ –enable-libopencore-amrwb –enable-libtheora –enable-libvorbis \ –enable-libvpx –enable-libx264 –enable-libxvid –enable-x11grab (上面的参数需要预先安装相应的codec/Library。或者直接运行./configure)  make make tools/qt-faststart cp -a tools/qt-faststart /usr/local/bin/

Read more

Provide an AUTOMAKE_VERSION environment variable

在OpenBSD 5.0-current上编译libfaac的时候出现如下问题 [root@cactus /usr/src/faac-1.28]# ./bootstrap Provide an AUTOMAKE_VERSION environment variable, please Provide an AUTOCONF_VERSION environment variable, please Provide an AUTOMAKE_VERSION environment variable, please Provide an AUTOCONF_VERSION environment variable, please   检查一下automake和autoconf的版本: [root@cactus /usr/src/faac-1.28]# pkg_info | grep auto autoconf-2.59p3     automatically configure…

Read more
Sidebar