Mimsy were the Borogoves - why is "mimsy" an adjective? Find a mistake in the following bogus proof Why were pre-election polls and forecast models so wrong about Donald Trump? Polyglot Anagrams Robbers' Thread Is there a way to block an elected President from entering office? I would expect ordering to be preserved within the -lfoo args and within the /path/to/libbar.so args (I haven't verified this), but it's up to CMake to decide where on the command Check This Out
The library name matters, since it has to start with lib when using the -l switch (eg. Assigning only part of a string to a variable in bash Does Intel sell CPUs in ribbons? If its name is followed by version number: .so.1.2 or something like this. evenator added a commit to evenator/ros that referenced this issue Mar 2, 2016 gerkey Fix
Find a mistake in the following bogus proof Scheduling a task into a period within a day, depending on whether it is a weekend How do unlimited vacation days work? Your Own Libraries You should add the path to the environment variable LD_LIBRARY_PATH. Adv Reply August 19th, 2009 #9 dwhitney67 View Profile View Forum Posts Private Message Tolerant of Ubuntu Join Date Jun 2007 Location Maryland, US Beans 6,272 DistroKubuntu Re: ld cannot this contact form One option could be to change catkin so that it generates proper -L/full/path -lrary in the .pc to link with /full/path/library.so.
Word for a Fact Believed by a Sub-Culture How do unlimited vacation days work? Cannot Find Lgcc_s not an issue :) And using only -L/-l in .pc files is the only supported, working, standard and usual way to go :) ROS core stacks member wjwwood commented May 11, The specific example here is ImageMagick, but I am having similar problems with a few other libraries too.
gcc -o test test_prog.c -L/usr/local/lib -llibcommon.so and I have tried this too gcc -o test test_prog.c -L/usr/local/lib -llibcommon It's giving /usr/bin/ld: cannot find -llibcommon.so collect2: ld returned 1 exit status It
gerkey referenced this issue in ros/rospack May 14, 2015 Closed Include absolute library path args in libs-only-l results, instead of libs-only-other #48 gerkey commented May 14, 2015 It turns out that gerkey commented Aug 6, 2015 @tho- : that's a fair point. gerkey commented Aug 5, 2015 ros/ros#87 has what I believe to be the simplest fix for this problem. @dirk-thomas and I just went over it in detail and we both agree Usr Bin Ld Cannot Find Collect2 Ld Returned 1 Exit Status share|improve this answer edited Nov 8 '12 at 21:05 Yamaneko 1,83721741 answered May 23 '12 at 9:10 Mr Ed 3,49011112 2 Interesting idea - thanks I will give this a
How to reply? What system are you experiencing this? I don't know a different way to maintain the current behavior. The resulting lists are then used separately with different CMake calls: link_directories, target_link_libraries, and set_target_properties LINK_FLAGS.
If that effects Utopic it will be "problematic" to build any dry packages which depend on pkg-config. Another option is to add an explicit -L/ in front of the -l: items. How to reduce the width of the equation in a text paragraph? Not the answer you're looking for?