扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
Borland® JBuilder® 2006 Enterprise for Linux |
|
Linux Distribution | Linux Kernel | GNU C Library | Linux Threading Library |
Red Hat® Enterprise Linux 3.0 | kernel-smp-2.4.21-3.EL.i686 | glibc-2.3.x, compat-glibc-2.2.4 | NPTL,LinuxThread |
Ubuntu Edgy 6.10 | 2.6.17-10-generic SMP i686 | glibc-2.4 | NPTL,LinuxThread(弃用) |
LD_ASSUME_KERNEL 对应 LinuxThread 的说明 | |
2.4.19 | Linuxthreads with floating stacks |
2.2.5 | Linuxthreads without floating stacks |
[xport@ubuntu ~] $ grep "LD_ASSUME_KERNEL" /media/cdrom/Disk1/InstDatahttp://Linux.chinaitlab.com/VM/install.bin linux_LD_ASSUME_KERNEL_hack=0; linux_LD_ASSUME_KERNEL_hack=1 # LD_ASSUME_KERNEL for Native POSIX Threading Library on some Linux distros export LD_ASSUME_KERNEL=2.2.5 # unset the LD_ASSUME_KERNEL in cause we don't need it unset LD_ASSUME_KERNEL # check our rules for setting LD_ASSUME_KERNEL linux_LD_ASSUME_KERNEL_hack=1 if [ $linux_LD_ASSUME_KERNEL_hack -eq 1 ]; then LD_ASSUME_KERNEL=2.2.5 export LD_ASSUME_KERNEL <-- 这里有赋值的动作,要用到LinuxThread的线程模式 [xport@ubuntu ~] $ |
[xport@ubuntu ~] $ export LD_ASSUME_KERNEL=2.4.19 [xport@ubuntu ~] $ ls ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory |
[xport@ubuntu ~] $ cd ~/Temp/JBE2006/Disk1/InstDatahttp://Linux.chinaitlab.com/VM /* 对安装文件进行备份 */ [xport@ubuntu VM] $ mv ./install.bin ./install.bin.borland /* 把原本安装文件中的LD_ASSUME_KERNEL操作注释掉,并写入新文件 */ [xport@ubuntu VM] $ cat ./install.bin.borland | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > ./install.bin [xport@ubuntu VM] $ chmod a+x ./install.bin [xport@ubuntu VM] $ cd ~ /* 请务必改写Shell提示符,以免Install AnyWhere报错 */ [xport@ubuntu ~] $ export PS1="> " /* 建议用Ubuntu的JDK进行安装 */ > sh ./install.bin LAX_VM /usr/lib/jvm/java-1.5.0-sun/jre/bin/java |
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者