[OSM-dev] osmium (osmjs) compile problem

Martijn van Exel m at rtijn.org
Sun Nov 20 22:42:47 GMT 2011


Hi,

On Wed, Nov 16, 2011 at 12:35 AM, Frederik Ramm <frederik at remote.org> wrote:
> Hi,
>
> On 11/16/11 05:35, Martijn van Exel wrote:
>>
>> g++ -g -Wall -Wextra -Wredundant-decls -Wdisabled-optimization
>> -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
>> -DOSMIUM_WITH_GEOS -I/usr/include -DOSMIUM_WITH_SHPLIB
>> -DOSMIUM_WITH_JAVASCRIPT -I../include -I/osm/software/v8/include -o
>> osmjs osmjs.cpp -L/usr/local/lib -lexpat -lpthread -L/usr/lib -lgeos
>> -lz -lprotobuf-lite -losmpbf -lv8 -licuuc -lshp
>
>> /usr/bin/ld: cannot find -lv8
>
> Is libv8.so present in /usr/local/lib? If not, add a -L/path/to/where/it/is!
>
> Bye
> Frederik
>
>

I compiled v8 as a shared library instead of static.
For archival purposes:

scons library=static

will compile V8 as a static lib.
-- 
martijn van exel
geospatial omnivore
1109 1st ave #2
salt lake city, ut 84103
801-550-5815
http://oegeo.wordpress.com



More information about the dev mailing list