On Tue, Sep 17, 2013 at 12:55 PM, YunQiang Su <wzss...@gmail.com> wrote: > Package: ruby-unicode > Version: 0.4.4-1 > X-Debbugs-CC: wzss...@gmail.com > > This package has one or more -L/usr/lib in its build system, > which will make it ftbfs if there is libraries under /usr/lib, > while is not the default architecture, mips* for example. > > On mips* systems, /usr/lib is defined as place to hold O32 > libraries, and /usr/lib32 for N32, and /usr/lib64 is for N64. > > Beside the way, on the multiarch system like Debian, user may install > libraries under /usr/lib by hand. > > Please use the default search path if you can, and please consider fix > this. > > I will try to fix this bug, while if you can help to fix it, > It will be very appreciative.
Maybe adding a library search to extconf.rb? find_library('pthread', some_phtread_symbol, lib_paths) find_library('rt', some_rt_symbol, lib_paths) Where some_*_symbol is a symbol in the library and lib_paths is an array with library paths. Maybe some code for checking if the build is on mips* arch also? http://ruby-doc.org/stdlib-2.0/libdoc/mkmf/rdoc/MakeMakefile.html#method-i-find_library -- Per -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org