From: Luis Lavena Date: 2011-10-05T07:33:23+09:00 Subject: Re: Error when installing gem. Darryl Pierce wrote in post #1025054: > On 10/04/2011 03:18 PM, Luis Lavena wrote: >> From the directories you're feeding into gem install, seems to me that >> you didn't compile and install the Qpid library. > > That's right. On this system I have the libraries in my development > directories. > What are the contents of src then? it contains the .so/dll file? >> >> The so (shared object) is the compiled library and is for execution, >> you the linking library instead (.a) > > Hrm, are you sure about that? Our development libraries don't distribute > any files other than the .so and headers. No .a files, which are > intermediate to the .so. > GCC can't link to .so/dll without a .a file, the .a file contains the required information about the exported symbols from the library. The .a files are not intermediate, see above. (normally will be libmydll.a and your so will be mydll.so/mydll.dll) >> Also, is polite reply to the list so all benefit from the answers. > > I'm not sure what you mean. I did reply to the list. Weird, got a copy of your message to my inbox when I normally use ruby-forum to reply messages. Anyhow, please verify that the directory you're pointing with --with-qlib-lib contains the .a file. -- Luis Lavena -- Posted via http://www.ruby-forum.com/.