⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 macosx.so

📁 berkeley db 4.6.21的源码。berkeley db是一个简单的数据库管理系统
💻 SO
字号:
m4_comment([$Id: macosx.so,v 11.14 2005/10/21 20:16:41 bostic Exp $])m4_ref_title(Building m4_db for UNIX/POSIX systems,    Mac OS X, Mac OS X, build_unix/linux, build_unix/osf1)m4_nlistbeginm4_nlist([dnlm4_bold([When trying to link multiple m4_db language interfaces (forexample, Tcl, C++, Java, Python) into a single process, I get "multipledefinitions" errors from dyld.])m4_p([dnlTo fix this problem, set the environment variable MACOSX_DEPLOYMENT_TARGETto 10.3 (or your current version of OS X), and reconfigure and rebuildm4_db from scratch.  See the OS X ld(1) and dyld(1) man pages for informationabout how OS X handles symbol namespaces, as well as undefined andmultiply-defined symbols.])])m4_nlist([dnlm4_bold([When trying to use system-backed shared memory on OS X I seefailures about "too many open files".])m4_p([dnlThe default number of shared memory segments on OS X is too low.  To fixthis problem, edit the file /etc/rc, changing the kern.sysv.shmmax andkern.sysv.shmseg values as follows:])m4_indent([dnl*** /etc/rc.orig        Fri Dec 19 09:34:09 2003--- /etc/rc     Fri Dec 19 09:33:53 2003****************** 84,93 ****   __OCT__ System tuning   sysctl -w kern.maxvnodes=$(echo $(sysctl -n hw.physmem) '33554432 /512 * 1024 +p'|dc)! sysctl -w kern.sysv.shmmax=4194304   sysctl -w kern.sysv.shmmin=1   sysctl -w kern.sysv.shmmni=32! sysctl -w kern.sysv.shmseg=8   sysctl -w kern.sysv.shmall=1024   if __LB__ -f /etc/sysctl-macosxserver.conf __RB__; then         awk '{ if (!index($1, "__OCT__") && index($1, "=")) print $1 }' __LT__/etc/sysctl-macosxserver.conf | while read--- 84,93 ----   __OCT__ System tuning   sysctl -w kern.maxvnodes=$(echo $(sysctl -n hw.physmem) '33554432 /512 * 1024 +p'|dc)! sysctl -w kern.sysv.shmmax=134217728   sysctl -w kern.sysv.shmmin=1   sysctl -w kern.sysv.shmmni=32! sysctl -w kern.sysv.shmseg=32   sysctl -w kern.sysv.shmall=1024   if __LB__ -f /etc/sysctl-macosxserver.conf __RB__; then         awk '{ if (!index($1, "__OCT__") && index($1, "=")) print $1 }' __LT__/etc/sysctl-macosxserver.conf | while read])m4_p([dnland then reboot the system.])])m4_nlistendm4_page_footer

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -