Date: Thu, 2 Apr 2020 20:25:00 -0300 From: "Gelson Borsoi" <gelson@borsoi.com.br> To: "Kevin P. Neal" <kpn@neutralgood.org> Cc: freebsd-ports@freebsd.org Subject: Re: Firebird25-server compiling and working on i386 but not in AMD64 Message-ID: <20200402230313.M79428@borsoi.com.br> In-Reply-To: <20200402174349.GA46432@neutralgood.org> References: <!&!AAAAAAAAAAAYAAAAAAAAAL9loAcSGTRArVTpmxhpc/PCgAAAEAAAAIMb/LvuhBFKgfVENB5%2Bv/oBAAAAAA==@borsoi.com.br> <20200402174349.GA46432@neutralgood.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2 Apr 2020 13:43:49 -0400, Kevin P. Neal wrote > On Thu, Apr 02, 2020 at 01:48:53PM -0300, Gelson Borsoi wrote: > > My current server is running FreeBSD 9.2 64 Bits. > > I have installed many services, including Firebird 2.5.2 > > It is a good hardware with 12GB of RAM, 2 processors and 4 SAS HDs. > > As I have spare Hd’s, I decided to install FreeBSD 12.1 64 bits to test all > > services before transferring the data and putting it into production. > > All worked except for the Firebird25-server. Bus error. > > In LLDB it shows error in the libfbintl.so library: CVICU_convert_init > > (charset *) () from /usr/local/libexec/firebird/intl/fbintl.so > > As I am stubborn, I tested with FreeBSD 12.1 i386 and to my surprise the > > Firebird25-server worked 100%. > > The problem is that I don't want to install 32bits since I can't take > > advantage of the 12GB of RAM. > > In the forum I found a post indicating to compile with clang34 but this port > > is no longer available. > > Question: Does anyone have a suggestion on how to solve this problem? > > How to compile firebird25-server in FreeBSD 12.1 64bits? > > First question: Does Firebird work in your current 9.2 server? Yes, works in 9.2-STABLE Server amd64 builded in 2014. > Are you using the 9.2-built Firebird in 12.1 or did you rebuild it? Because > software for previous major FreeBSD releases may not run on newer major > releases. As I have additional disks, I removed the disks with FreeBSD 9.2 installation and put new ones in the machine and installed FreeBSD 12.1. Firebird was installed by ports. I also tried pkg. > Worst case, can you keep a i386 install tree on your 64-bit server > and use Firebird from there? Since i386 FreeBSD software can run on > 64-bit FreeBSD that might be an option of last resort. I didn't tried this but i think it's not a good idea because of icu package dependency. fbintl.so depends on icu 66 as you can see below: Dynamic section at offset 0xc8b6c contains 33 entries: Tag Type Name/Value 0x0000001d RUNPATH Library runpath: [/usr/local/lib] 0x00000001 NEEDED Shared library: [libicui18n.so.66] 0x00000001 NEEDED Shared library: [libicuuc.so.66] 0x00000001 NEEDED Shared library: [libicudata.so.66] 0x00000001 NEEDED Shared library: [libm.so.5] 0x00000001 NEEDED Shared library: [libthr.so.3] 0x00000001 NEEDED Shared library: [libc++.so.1] 0x00000001 NEEDED Shared library: [libcxxrt.so.1] 0x00000001 NEEDED Shared library: [libgcc_s.so.1] 0x00000001 NEEDED Shared library: [libc.so.7] 0x0000000e SONAME Library soname: [libfbintl.so.1] I also couldn't say if the i386 package would use the system's ICU libraries or come in the package because I never did this type of installation. I don't really know how to do it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200402230313.M79428>