* /usr/bin/ld: cannot find -lboost_program_options
@ 2013-12-02 1:57 charles L
2013-12-02 2:18 ` Li Wang
0 siblings, 1 reply; 4+ messages in thread
From: charles L @ 2013-12-02 1:57 UTC (permalink / raw)
To: ceph-devel@vger.kernel.org
Pls can some1 help? Im compiling ceph...i did the make -j2 command and got this "cannot find -lboost_program_options" many times ..so i tried to run make in verbose mode...and got this...
root@ubuntuserver:/home/ceph# V=1 make
Making all in .
make[1]: Entering directory `/home/ceph'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/ceph'
Making all in src
make[1]: Entering directory `/home/ceph/src'
make all-recursive
make[2]: Entering directory `/home/ceph/src'
Making all in ocf
make[3]: Entering directory `/home/ceph/src/ocf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ceph/src/ocf'
Making all in java
make[3]: Entering directory `/home/ceph/src/java'
make all-am
make[4]: Entering directory `/home/ceph/src/java'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/ceph/src/java'
make[3]: Leaving directory `/home/ceph/src/java'
make[3]: Entering directory `/home/ceph/src'
./check_version ./.git_version
./.git_version is up to date.
/bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -latomic_ops -o ceph_filestore_tool tools/ceph-filestore-tool.o libosd.la libosdc.la libos.la -laio -lleveldb -lsnappy libperfglue.la -ltcmalloc libos.la -laio -lleveldb -lsnappy libglobal.la -lpthread -lm -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy
libtool: link: g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -o ceph_filestore_tool tools/ceph-filestore-tool.o /usr/lib/libatomic_ops.a ./.libs/libosd.a ./.libs/libosdc.a ./.libs/libperfglue.a -ltcmalloc ./.libs/libos.a -laio ./.libs/libglobal.a -lpthread -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy
/usr/bin/ld: cannot find -lboost_program_options
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_filestore_tool] Error 1
make[3]: Leaving directory `/home/ceph/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ceph/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ceph/src'
make: *** [all-recursive] Error 1 --
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: /usr/bin/ld: cannot find -lboost_program_options
2013-12-02 1:57 /usr/bin/ld: cannot find -lboost_program_options charles L
@ 2013-12-02 2:18 ` Li Wang
2013-12-02 3:08 ` charles L
0 siblings, 1 reply; 4+ messages in thread
From: Li Wang @ 2013-12-02 2:18 UTC (permalink / raw)
To: charles L; +Cc: ceph-devel@vger.kernel.org
Please install libboost-program-options-dev package before compiling
for example, for Ubuntu,
sudo apt-get install libboost-program-options-dev
On 12/02/2013 09:57 AM, charles L wrote:
> Pls can some1 help? Im compiling ceph...i did the make -j2 command and got this "cannot find -lboost_program_options" many times ..so i tried to run make in verbose mode...and got this...
>
> root@ubuntuserver:/home/ceph# V=1 make
> Making all in .
> make[1]: Entering directory `/home/ceph'
> make[1]: Nothing to be done for `all-am'.
> make[1]: Leaving directory `/home/ceph'
> Making all in src
> make[1]: Entering directory `/home/ceph/src'
> make all-recursive
> make[2]: Entering directory `/home/ceph/src'
> Making all in ocf
> make[3]: Entering directory `/home/ceph/src/ocf'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/ceph/src/ocf'
> Making all in java
> make[3]: Entering directory `/home/ceph/src/java'
> make all-am
> make[4]: Entering directory `/home/ceph/src/java'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/home/ceph/src/java'
> make[3]: Leaving directory `/home/ceph/src/java'
> make[3]: Entering directory `/home/ceph/src'
> ./check_version ./.git_version
> ./.git_version is up to date.
> /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -latomic_ops -o ceph_filestore_tool tools/ceph-filestore-tool.o libosd.la libosdc.la libos.la -laio -lleveldb -lsnappy libperfglue.la -ltcmalloc libos.la -laio -lleveldb -lsnappy libglobal.la -lpthread -lm -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy
> libtool: link: g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -o ceph_filestore_tool tools/ceph-filestore-tool.o /usr/lib/libatomic_ops.a ./.libs/libosd.a ./.libs/libosdc.a ./.libs/libperfglue.a -ltcmalloc ./.libs/libos.a -laio ./.libs/libglobal.a -lpthread -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy
> /usr/bin/ld: cannot find -lboost_program_options
> collect2: error: ld returned 1 exit status
> make[3]: *** [ceph_filestore_tool] Error 1
> make[3]: Leaving directory `/home/ceph/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/ceph/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/ceph/src'
> make: *** [all-recursive] Error 1 --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: /usr/bin/ld: cannot find -lboost_program_options
2013-12-02 2:18 ` Li Wang
@ 2013-12-02 3:08 ` charles L
2013-12-02 4:40 ` Noah Watkins
0 siblings, 1 reply; 4+ messages in thread
From: charles L @ 2013-12-02 3:08 UTC (permalink / raw)
To: Li Wang; +Cc: ceph-devel@vger.kernel.org
i reinstalled ...libboost-program-options-dev and it fixed the issue.
Thanks.
----------------------------------------
> Date: Mon, 2 Dec 2013 10:18:33 +0800
> From: liwang@ubuntukylin.com
> To: charlesboy009@hotmail.com
> CC: ceph-devel@vger.kernel.org
> Subject: Re: /usr/bin/ld: cannot find -lboost_program_options
>
> Please install libboost-program-options-dev package before compiling
> for example, for Ubuntu,
> sudo apt-get install libboost-program-options-dev
>
> On 12/02/2013 09:57 AM, charles L wrote:
>> Pls can some1 help? Im compiling ceph...i did the make -j2 command and got this "cannot find -lboost_program_options" many times ..so i tried to run make in verbose mode...and got this...
>>
>> root@ubuntuserver:/home/ceph# V=1 make
>> Making all in .
>> make[1]: Entering directory `/home/ceph'
>> make[1]: Nothing to be done for `all-am'.
>> make[1]: Leaving directory `/home/ceph'
>> Making all in src
>> make[1]: Entering directory `/home/ceph/src'
>> make all-recursive
>> make[2]: Entering directory `/home/ceph/src'
>> Making all in ocf
>> make[3]: Entering directory `/home/ceph/src/ocf'
>> make[3]: Nothing to be done for `all'.
>> make[3]: Leaving directory `/home/ceph/src/ocf'
>> Making all in java
>> make[3]: Entering directory `/home/ceph/src/java'
>> make all-am
>> make[4]: Entering directory `/home/ceph/src/java'
>> make[4]: Nothing to be done for `all-am'.
>> make[4]: Leaving directory `/home/ceph/src/java'
>> make[3]: Leaving directory `/home/ceph/src/java'
>> make[3]: Entering directory `/home/ceph/src'
>> ./check_version ./.git_version
>> ./.git_version is up to date.
>> /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -latomic_ops -o ceph_filestore_tool tools/ceph-filestore-tool.o libosd.la libosdc.la libos.la -laio -lleveldb -lsnappy libperfglue.la -ltcmalloc libos.la -laio -lleveldb -lsnappy libglobal.la -lpthread -lm -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy
>> libtool: link: g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -o ceph_filestore_tool tools/ceph-filestore-tool.o /usr/lib/libatomic_ops.a ./.libs/libosd.a ./.libs/libosdc.a ./.libs/libperfglue.a -ltcmalloc ./.libs/libos.a -laio ./.libs/libglobal.a -lpthread -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy
>> /usr/bin/ld: cannot find -lboost_program_options
>> collect2: error: ld returned 1 exit status
>> make[3]: *** [ceph_filestore_tool] Error 1
>> make[3]: Leaving directory `/home/ceph/src'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/ceph/src'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/home/ceph/src'
>> make: *** [all-recursive] Error 1 --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: /usr/bin/ld: cannot find -lboost_program_options
2013-12-02 3:08 ` charles L
@ 2013-12-02 4:40 ` Noah Watkins
0 siblings, 0 replies; 4+ messages in thread
From: Noah Watkins @ 2013-12-02 4:40 UTC (permalink / raw)
To: charles L; +Cc: Li Wang, ceph-devel@vger.kernel.org
Hi Charles,
Out of curiousity, do you have a config.log handy? A recent change to
configure.ac should have caught the absense of the boost program
options library before this step.
On Sun, Dec 1, 2013 at 7:08 PM, charles L <charlesboy009@hotmail.com> wrote:
> i reinstalled ...libboost-program-options-dev and it fixed the issue.
>
> Thanks.
> ----------------------------------------
>> Date: Mon, 2 Dec 2013 10:18:33 +0800
>> From: liwang@ubuntukylin.com
>> To: charlesboy009@hotmail.com
>> CC: ceph-devel@vger.kernel.org
>> Subject: Re: /usr/bin/ld: cannot find -lboost_program_options
>>
>> Please install libboost-program-options-dev package before compiling
>> for example, for Ubuntu,
>> sudo apt-get install libboost-program-options-dev
>>
>> On 12/02/2013 09:57 AM, charles L wrote:
>>> Pls can some1 help? Im compiling ceph...i did the make -j2 command and got this "cannot find -lboost_program_options" many times ..so i tried to run make in verbose mode...and got this...
>>>
>>> root@ubuntuserver:/home/ceph# V=1 make
>>> Making all in .
>>> make[1]: Entering directory `/home/ceph'
>>> make[1]: Nothing to be done for `all-am'.
>>> make[1]: Leaving directory `/home/ceph'
>>> Making all in src
>>> make[1]: Entering directory `/home/ceph/src'
>>> make all-recursive
>>> make[2]: Entering directory `/home/ceph/src'
>>> Making all in ocf
>>> make[3]: Entering directory `/home/ceph/src/ocf'
>>> make[3]: Nothing to be done for `all'.
>>> make[3]: Leaving directory `/home/ceph/src/ocf'
>>> Making all in java
>>> make[3]: Entering directory `/home/ceph/src/java'
>>> make all-am
>>> make[4]: Entering directory `/home/ceph/src/java'
>>> make[4]: Nothing to be done for `all-am'.
>>> make[4]: Leaving directory `/home/ceph/src/java'
>>> make[3]: Leaving directory `/home/ceph/src/java'
>>> make[3]: Entering directory `/home/ceph/src'
>>> ./check_version ./.git_version
>>> ./.git_version is up to date.
>>> /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -latomic_ops -o ceph_filestore_tool tools/ceph-filestore-tool.o libosd.la libosdc.la libos.la -laio -lleveldb -lsnappy libperfglue.la -ltcmalloc libos.la -laio -lleveldb -lsnappy libglobal.la -lpthread -lm -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy
>>> libtool: link: g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wl,--as-needed -o ceph_filestore_tool tools/ceph-filestore-tool.o /usr/lib/libatomic_ops.a ./.libs/libosd.a ./.libs/libosdc.a ./.libs/libperfglue.a -ltcmalloc ./.libs/libos.a -laio ./.libs/libglobal.a -lpthread -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_program_options -ldl -lboost_thread -lboost_system -lleveldb -lsnappy
>>> /usr/bin/ld: cannot find -lboost_program_options
>>> collect2: error: ld returned 1 exit status
>>> make[3]: *** [ceph_filestore_tool] Error 1
>>> make[3]: Leaving directory `/home/ceph/src'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory `/home/ceph/src'
>>> make[1]: *** [all] Error 2
>>> make[1]: Leaving directory `/home/ceph/src'
>>> make: *** [all-recursive] Error 1 --
>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-12-02 4:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02 1:57 /usr/bin/ld: cannot find -lboost_program_options charles L
2013-12-02 2:18 ` Li Wang
2013-12-02 3:08 ` charles L
2013-12-02 4:40 ` Noah Watkins
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.