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: <Software, Yarrow> 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: 0xffffa000017a0500
        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]
0x000000000033e303 <elf::object::symbol(unsigned int)+227>
0x000000000038ca14 <elf::object::arch_relocate_rela(unsigned int, unsigned
int, void*, long)+292>
0x000000000033c6a4 <elf::object::relocate_rela()+148>
0x000000000033f107 <elf::object::relocate()+199>
0x0000000000342412
<elf::program::load_object(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >,
std::vector<std::shared_ptr<elf::object>,
std::allocator<std::shared_ptr<elf::object> > >&)+1602>
0x0000000000342c52
<elf::program::get_library(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >)+322>
0x00000000004144c3
<osv::application::application(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > const&, bool,
std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::hash<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > > const*)+707>
0x0000000000414c08 <osv::application::run(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > const&, bool,
std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::hash<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > > const*)+104>
0x0000000000414e1b
<osv::application::run(std::vector<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > const&)+27>
0x0000000000213a49 <do_main_thread(void*)+2649>
0x0000000000444eb5 <???+4476597>
0x00000000003e5d76 <thread_main_c+38>
0x0000000000388f82 <???+3706754>


Kind Regards,

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

On 11 February 2018 at 07:24, Nadav Har'El <n...@scylladb.com> wrote:

>
> On Sat, Feb 10, 2018 at 7:31 AM, Geraldo Netto <geraldone...@gmail.com>
> 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.

Reply via email to