Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to compile a program which uses Google's V8 library (which is 32 bit). Therefore any library I use within my program also has to be 32 bit. Where can I download the 32 bit version of libraries on Ubuntu 64 bit? More specifically, I'm looking for the libnotify 32 bit version.

This is the errors I am getting right now:

g++ -o shell -m32 shell.o -L../v8 -lv8 -lpthread `pkg-config --libs libnotify glib-2.0`
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../libnotify.so when searching for -lnotify
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../libnotify.a when searching for -lnotify
/usr/bin/ld: skipping incompatible /usr/lib/libnotify.so when searching for -lnotify
/usr/bin/ld: skipping incompatible /usr/lib/libnotify.a when searching for -lnotify
/usr/bin/ld: cannot find -lnotify
collect2: ld returned 1 exit status

Thanks!

share|improve this question
1  
check the answers to this question –  Takkat Feb 21 '11 at 11:46
    
turns out it's now possible to compile V8 for 64bit "scons arch=4" –  Olivier Lalonde Feb 21 '11 at 11:59

1 Answer 1

up vote 4 down vote accepted

You can install 32bit libraries on a 64bit machine by installing the ia32-libs hey package

share|improve this answer
1  
Can you think of any problems that installing ia32-libs on a 64-bit system would cause or is doing this harmless? –  djangofan Jan 3 '12 at 19:22
1  
@djangofan It's harmless, it's designed for this specific issue. –  Marco Ceppi Jan 3 '12 at 19:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.