Re: mysql: failed looking up symbol numa_all_nodes_ptr

2018-02-22 Thread Geraldo Netto
Hello Nadav/All,

My Friends, I have made some progress here
Apparently, the unit test for crypt.h is okay and MySQL is now complaining
only about libnuma.so.1 which I can copy from my local machine as Nadav
pointed out
BTW, MySQL usr.manifest is using ":" instead of ": ", but one fix at a time
:)

netto@vmx01 ~/osv $ scripts/run.py -V
OSv v0.24-500-g6828ed0
2 CPUs detected
Firmware vendor: SeaBIOS
bsd: initializing - done
VFS: mounting ramfs at /
VFS: mounting devfs at /dev
net: initializing - done
vga: Add VGA device instance
eth0: ethernet address: 52:54:00:12:34:56
virtio-blk: Add blk device instances 0 as vblk0, devsize=10737418240
random: virtio-rng registered as a source.
random:  initialized
VFS: unmounting /dev
VFS: mounting zfs at /zfs
zfs: mounting osv/zfs from device /dev/vblk0.1
random: device unblocked.
VFS: mounting devfs at /dev
VFS: mounting procfs at /proc
program zpool.so returned 1
BSD shrinker: event handler list found: 0xa17a0500
BSD shrinker found: 1
BSD shrinker: unlocked, running
[I/42 dhcp]: Broadcasting DHCPDISCOVER message with xid: [1962368973]
[I/244 dhcp]: Received DHCPOFFER message from DHCP server: 192.168.122.1
regarding offerred IP address: 192.168.122.15
[I/244 dhcp]: Broadcasting DHCPREQUEST message with xid: [1962368973] to
SELECT offered IP: 192.168.122.15
[I/244 dhcp]: Received DHCPACK message from DHCP server: 192.168.122.1
regarding offerred IP address: 192.168.122.15
[I/244 dhcp]: Server acknowledged IP 192.168.122.15 for interface eth0 with
time to lease in seconds: 86400
eth0: 192.168.122.15
[I/244 dhcp]: Configuring eth0: ip 192.168.122.15 subnet mask 255.255.255.0
gateway 192.168.122.1 MTU 1500
[I/42 dhcp]: Waiting for IP...
could not load libnuma.so.1
/usr/bin/mysqld: failed looking up symbol numa_all_nodes_ptr

[backtrace]
0x0033e303 
0x0038ca14 
0x0033c6a4 
0x0033f107 
0x00342412
,
std::vector, std::allocator > >,
std::vector >&)+1602>
0x00342c52
,
std::vector, std::allocator > >)+322>
0x004144c3
 const&,
std::vector, std::allocator > > const&, bool,
std::unordered_map, std::__cxx11::basic_string,
std::hash >, std::equal_to >,
std::allocator const,
std::__cxx11::basic_string > > > const*)+707>
0x00414c08  const&,
std::vector, std::allocator > > const&, bool,
std::unordered_map, std::__cxx11::basic_string,
std::hash >, std::equal_to >,
std::allocator const,
std::__cxx11::basic_string > > > const*)+104>
0x00414e1b
,
std::allocator > > const&)+27>
0x00213a49 
0x00444eb5 
0x003e5d76 
0x00388f82 


Kind Regards,

Geraldo Netto
Sapere Aude => Non dvcor, dvco
http://exdev.sf.net/

On 11 February 2018 at 07:24, Nadav Har'El  wrote:

>
> On Sat, Feb 10, 2018 at 7:31 AM, Geraldo Netto 
> wrote:
>
>> Dear Friends,
>>
>> I was trying to 

Re: mysql: failed looking up symbol numa_all_nodes_ptr

2018-02-11 Thread Nadav Har'El
On Sat, Feb 10, 2018 at 7:31 AM, Geraldo Netto 
wrote:

> Dear Friends,
>
> I was trying to upgrade mysql but in order to upgrade to version 5.6.39
> It seems mysql requires the libraries
> - libnuma.so.1
>

libnuma is a separate shared library, it is not part of glibc, and you
should just
copy it from wherever (e.g., your host) to the image, then the missing
numa_all_nodes_ptr
variable will be defined.

- libcrypt.so.1
>

I think this is not necessary, as OSv includes an implementation of
crypt(), but I don't think
we ever tested this, and it may miss other stuff (like encrypt()). We
should probably choose
one of the following two options, and make things more consistent:
1. If OSv supplies libcrypt.so.1, it should supply all functions (not just
crypt()) and supplied_modules (core/elf.cc) should mention libcrypt.so.1
2. If OSv doesn't supply libcrypt.so.1, it shouldn't include parts of it
(see Makefile doing "musl += crypt/..."

I'm guessing the current mix was useful for something (Java?) which uses
the crypt() function but not anything else from libcrypt.so.1.

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.