Discussion:
[Wt-interest] Issues with manually building on CentOS6.5
Alan Jesser
2015-01-26 17:41:53 UTC
Permalink
I'm manually building Wt from git on CentOS 6.5. I manually compiled boost 1.55 and put it into /usr/local.

When I issue

ccmake ../wt/ -DBOOST_ROOT=/usr/local -DBOOST_PREFIX=/usr/local -DPOSTGRES_PREFIX=/usr/pgsql-9.2 -DCMAKE_PREFIX_PATH=/usr/local

everything looks fine in the list. Everything points at the boost version in /usr/local

The problem happens after it finishes compiling. When I do an ldd on the so files I get the following.

libwt.so:
linux-vdso.so.1 => (0x00007fff29fff000)
libboost_thread.so.1.55.0 => /usr/local/lib/libboost_thread.so.1.55.0 (0x00007fb599e7a000)
libboost_random.so.1.55.0 => /usr/local/lib/libboost_random.so.1.55.0 (0x00007fb599c77000)
libboost_regex.so.5 => /usr/lib64/libboost_regex.so.5 (0x00007fb599983000)
libboost_signals.so.5 => /usr/lib64/libboost_signals.so.5 (0x00007fb599770000)
libboost_system.so.5 => /usr/lib64/libboost_system.so.5 (0x00007fb59956c000)
libboost_filesystem.so.5 => /usr/lib64/libboost_filesystem.so.5 (0x00007fb599357000)
libboost_date_time.so.5 => /usr/lib64/libboost_date_time.so.5 (0x00007fb599145000)
librt.so.1 => /lib64/librt.so.1 (0x00007fb598f29000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fb598cbd000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fb5988da000)
libGraphicsMagick.so.3 => /usr/lib64/libGraphicsMagick.so.3 (0x00007fb598516000)
libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007fb5982eb000)
libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007fb5980a0000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007fb597e53000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007fb597b3c000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb59791f000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fb597618000)
libm.so.6 => /lib64/libm.so.6 (0x00007fb597394000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fb59717e000)
libc.so.6 => /lib64/libc.so.6 (0x00007fb596de9000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb59adde000)
libboost_system.so.1.55.0 => /usr/local/lib/libboost_system.so.1.55.0 (0x00007fb596be6000)
libicuuc.so.42 => /usr/lib64/libicuuc.so.42 (0x00007fb596894000)
libicui18n.so.42 => /usr/lib64/libicui18n.so.42 (0x00007fb5964fd000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fb5962b9000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fb595fd2000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fb595dce000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fb595ba2000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fb59599d000)
libz.so.1 => /lib64/libz.so.1 (0x00007fb595787000)
liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00007fb59554e000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fb5952b0000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fb59509e000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fb594e96000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fb594c79000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fb59493c000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fb59472b000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007fb594521000)
libgomp.so.1 => /usr/lib64/libgomp.so.1 (0x00007fb59430c000)
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007fb594108000)
libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007fb593f04000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fb593cce000)
libicudata.so.42 => /usr/lib64/libicudata.so.42 (0x00007fb592b88000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fb59297d000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fb59277a000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fb59255f000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fb59235b000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fb59213c000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fb591f14000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fb591cf4000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fb591af1000)
libwttest.so:
linux-vdso.so.1 => (0x00007fff93686000)
libwt.so.38 => /home/flexadm/personal/alan/wt/git_version/build/src/libwt.so.38 (0x00007f410332b000)
libboost_thread.so.1.55.0 => /usr/local/lib/libboost_thread.so.1.55.0 (0x00007f410310f000)
libboost_random.so.1.55.0 => /usr/local/lib/libboost_random.so.1.55.0 (0x00007f4102f0d000)
libboost_regex.so.5 => /usr/lib64/libboost_regex.so.5 (0x00007f4102c19000)
libboost_signals.so.5 => /usr/lib64/libboost_signals.so.5 (0x00007f4102a05000)
libboost_system.so.5 => /usr/lib64/libboost_system.so.5 (0x00007f4102802000)
libboost_filesystem.so.5 => /usr/lib64/libboost_filesystem.so.5 (0x00007f41025ed000)
libboost_date_time.so.5 => /usr/lib64/libboost_date_time.so.5 (0x00007f41023da000)
librt.so.1 => /lib64/librt.so.1 (0x00007f41021bf000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f4101f53000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007f4101b6f000)
libGraphicsMagick.so.3 => /usr/lib64/libGraphicsMagick.so.3 (0x00007f41017ac000)
libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007f4101581000)
libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f4101335000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f41010e9000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f4100dd2000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4100bb4000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f41008ae000)
libm.so.6 => /lib64/libm.so.6 (0x00007f410062a000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f4100413000)
libc.so.6 => /lib64/libc.so.6 (0x00007f410007f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f41042a4000)
libboost_system.so.1.55.0 => /usr/local/lib/libboost_system.so.1.55.0 (0x00007f40ffe7c000)
libicuuc.so.42 => /usr/lib64/libicuuc.so.42 (0x00007f40ffb29000)
libicui18n.so.42 => /usr/lib64/libicui18n.so.42 (0x00007f40ff793000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f40ff54e000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f40ff268000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f40ff064000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f40fee37000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f40fec33000)
libz.so.1 => /lib64/libz.so.1 (0x00007f40fea1d000)
liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00007f40fe7e3000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f40fe546000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f40fe334000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f40fe12b000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f40fdf0f000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f40fdbd2000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f40fd9c0000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f40fd7b7000)
libgomp.so.1 => /usr/lib64/libgomp.so.1 (0x00007f40fd5a2000)
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007f40fd39d000)
libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f40fd19a000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f40fcf64000)
libicudata.so.42 => /usr/lib64/libicudata.so.42 (0x00007f40fbe1e000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f40fbc13000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f40fba0f000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f40fb7f5000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f40fb5f0000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f40fb3d2000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f40fb1a9000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f40faf8a000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f40fad87000)


I can't seem to figure out why it is intermingling the system installed boost and one I specified. Anyone have this problem before and solve it?

Thanks,
Alan
Alan Jesser
2015-01-28 16:13:01 UTC
Permalink
I guess this doesn't matter anymore. We decided to make changes to the box and remove the system installed boost.

From: ***@hotmail.com
To: witty-***@lists.sourceforge.net
Date: Mon, 26 Jan 2015 11:41:53 -0600
Subject: [Wt-interest] Issues with manually building on CentOS6.5




I'm manually building Wt from git on CentOS 6.5. I manually compiled boost 1.55 and put it into /usr/local.

When I issue

ccmake ../wt/ -DBOOST_ROOT=/usr/local -DBOOST_PREFIX=/usr/local -DPOSTGRES_PREFIX=/usr/pgsql-9.2 -DCMAKE_PREFIX_PATH=/usr/local

everything looks fine in the list. Everything points at the boost version in /usr/local

The problem happens after it finishes compiling. When I do an ldd on the so files I get the following.

libwt.so:
linux-vdso.so.1 => (0x00007fff29fff000)
libboost_thread.so.1.55.0 => /usr/local/lib/libboost_thread.so.1.55.0 (0x00007fb599e7a000)
libboost_random.so.1.55.0 => /usr/local/lib/libboost_random.so.1.55.0 (0x00007fb599c77000)
libboost_regex.so.5 => /usr/lib64/libboost_regex.so.5 (0x00007fb599983000)
libboost_signals.so.5 => /usr/lib64/libboost_signals.so.5 (0x00007fb599770000)
libboost_system.so.5 => /usr/lib64/libboost_system.so.5 (0x00007fb59956c000)
libboost_filesystem.so.5 => /usr/lib64/libboost_filesystem.so.5 (0x00007fb599357000)
libboost_date_time.so.5 => /usr/lib64/libboost_date_time.so.5 (0x00007fb599145000)
librt.so.1 => /lib64/librt.so.1 (0x00007fb598f29000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fb598cbd000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fb5988da000)
libGraphicsMagick.so.3 => /usr/lib64/libGraphicsMagick.so.3 (0x00007fb598516000)
libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007fb5982eb000)
libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007fb5980a0000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007fb597e53000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007fb597b3c000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb59791f000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fb597618000)
libm.so.6 => /lib64/libm.so.6 (0x00007fb597394000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fb59717e000)
libc.so.6 => /lib64/libc.so.6 (0x00007fb596de9000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb59adde000)
libboost_system.so.1.55.0 => /usr/local/lib/libboost_system.so.1.55.0 (0x00007fb596be6000)
libicuuc.so.42 => /usr/lib64/libicuuc.so.42 (0x00007fb596894000)
libicui18n.so.42 => /usr/lib64/libicui18n.so.42 (0x00007fb5964fd000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fb5962b9000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fb595fd2000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fb595dce000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fb595ba2000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fb59599d000)
libz.so.1 => /lib64/libz.so.1 (0x00007fb595787000)
liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00007fb59554e000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fb5952b0000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fb59509e000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fb594e96000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fb594c79000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fb59493c000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fb59472b000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007fb594521000)
libgomp.so.1 => /usr/lib64/libgomp.so.1 (0x00007fb59430c000)
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007fb594108000)
libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007fb593f04000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fb593cce000)
libicudata.so.42 => /usr/lib64/libicudata.so.42 (0x00007fb592b88000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fb59297d000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fb59277a000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fb59255f000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fb59235b000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fb59213c000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fb591f14000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fb591cf4000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fb591af1000)
libwttest.so:
linux-vdso.so.1 => (0x00007fff93686000)
libwt.so.38 => /home/flexadm/personal/alan/wt/git_version/build/src/libwt.so.38 (0x00007f410332b000)
libboost_thread.so.1.55.0 => /usr/local/lib/libboost_thread.so.1.55.0 (0x00007f410310f000)
libboost_random.so.1.55.0 => /usr/local/lib/libboost_random.so.1.55.0 (0x00007f4102f0d000)
libboost_regex.so.5 => /usr/lib64/libboost_regex.so.5 (0x00007f4102c19000)
libboost_signals.so.5 => /usr/lib64/libboost_signals.so.5 (0x00007f4102a05000)
libboost_system.so.5 => /usr/lib64/libboost_system.so.5 (0x00007f4102802000)
libboost_filesystem.so.5 => /usr/lib64/libboost_filesystem.so.5 (0x00007f41025ed000)
libboost_date_time.so.5 => /usr/lib64/libboost_date_time.so.5 (0x00007f41023da000)
librt.so.1 => /lib64/librt.so.1 (0x00007f41021bf000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f4101f53000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007f4101b6f000)
libGraphicsMagick.so.3 => /usr/lib64/libGraphicsMagick.so.3 (0x00007f41017ac000)
libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007f4101581000)
libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f4101335000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f41010e9000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f4100dd2000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4100bb4000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f41008ae000)
libm.so.6 => /lib64/libm.so.6 (0x00007f410062a000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f4100413000)
libc.so.6 => /lib64/libc.so.6 (0x00007f410007f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f41042a4000)
libboost_system.so.1.55.0 => /usr/local/lib/libboost_system.so.1.55.0 (0x00007f40ffe7c000)
libicuuc.so.42 => /usr/lib64/libicuuc.so.42 (0x00007f40ffb29000)
libicui18n.so.42 => /usr/lib64/libicui18n.so.42 (0x00007f40ff793000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f40ff54e000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f40ff268000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f40ff064000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f40fee37000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f40fec33000)
libz.so.1 => /lib64/libz.so.1 (0x00007f40fea1d000)
liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00007f40fe7e3000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f40fe546000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f40fe334000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f40fe12b000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f40fdf0f000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f40fdbd2000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f40fd9c0000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f40fd7b7000)
libgomp.so.1 => /usr/lib64/libgomp.so.1 (0x00007f40fd5a2000)
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007f40fd39d000)
libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f40fd19a000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f40fcf64000)
libicudata.so.42 => /usr/lib64/libicudata.so.42 (0x00007f40fbe1e000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f40fbc13000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f40fba0f000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f40fb7f5000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f40fb5f0000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f40fb3d2000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f40fb1a9000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f40faf8a000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f40fad87000)


I can't seem to figure out why it is intermingling the system installed boost and one I specified. Anyone have this problem before and solve it?

Thanks,
Alan

Loading...