Project

General

Profile

Bug #74

Default build from source breaks at the link stage

Added by Firstname Lastname over 10 years ago. Updated 5 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
06/23/2012
Due date:
% Done:

0%

Estimated time:

Description

Out of the box, Sylpheed does not build from source. Here is the proof-of-concept. When configuring and compiling Sylpheed with:

CFLAGS= CXXFLAGS= LDFLAGS= ./configure ; make

the build breaks at the linking stage with this error:

gcc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o .libs/sylpheed main.o mainwindow.o folderview.o summaryview.o messageview.o headerview.o textview.o imageview.o mimeview.o quick_search.o query_search.o message_search.o colorlabel.o action.o compose.o gtkshruler.o menu.o stock_pixmap.o prefs_ui.o prefs_common_dialog.o prefs_filter.o prefs_filter_edit.o prefs_account_dialog.o prefs_folder_item.o prefs_display_items.o prefs_display_header.o prefs_customheader.o prefs_summary_column.o prefs_template.o prefs_actions.o prefs_search_folder.o prefs_toolbar.o account_dialog.o template.o addressbook.o addr_compl.o addritem.o addrcache.o addrbook.o addrindex.o mgutils.o vcard.o ldif.o importldif.o importcsv.o jpilot.o syldap.o editbook.o editgroup.o editaddress.o editvcard.o editjpilot.o editldap.o editldap_basedn.o addressadd.o filesel.o foldersel.o statusbar.o logwindow.o sourcewindow.o manage_window.o undo.o alertpanel.o inputdialog.o progressdialog.o subscribedialog.o about.o setup.o gtkutils.o send_message.o inc.o rpop3.o import.o export.o rfc2015.o passphrase.o select-keys.o sigstatus.o simple-gettext.o manual.o eggtrayicon.o trayicon.o printing.o sslmanager.o plugin_manager.o update_check.o quote_fmt_lex.o quote_fmt_parse.o sylpheed-marshal.o -pthread /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libcairo.so /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so /usr/lib/libfontconfig.so /usr/lib/libgobject-2.0.so ./.libs/libsylpheed-plugin-0.so ../libsylph/.libs/libsylph-0.so -lnsl -lssl -lcrypto /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/local/lib
/usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../i686-pc-linux-gnu/bin/ld: main.o: undefined reference to symbol 'g_module_name'
/usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../i686-pc-linux-gnu/bin/ld: note: 'g_module_name' is defined in DSO /usr/lib/../lib/libgmodule-2.0.so.0 so try adding it to the linker command line
/usr/lib/../lib/libgmodule-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make4: *** [sylpheed] Error 1

It is of course trivial to work around the problem locally, for example by setting LDFLAGS="-lgmodule-2.0". But with a new release imminent, this seems like a good point in time to fix the issue at the source.

#1

Updated by Hiroyuki Yamamoto over 10 years ago

What does 'pkg-config --libs gtk+-2.0' show on your system?
(and your OS and GTK+ version)

$ pkg-config --libs gtk+-2.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

Here (Ubuntu 8.04, GTK+ 2.12.9), it adds -lgmodule-2.0, so it doesn't have the problem.

#2

Updated by Firstname Lastname over 10 years ago

'pkg-config --libs gtk+-2.0' shows:

-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0

The OS is 32-bit Linux (no distribution). All software versions are the most recent ones: Linux kernel 3.4.4, glibc 2.15, GTK+ 2.24.10, glib 2.32.3, and so on. Just for comparison: Other software that I compile (for example Gimp 2.8.0) knows the "-lgmodule-2.0" requirement by itself.

#3

Updated by Hiroyuki Yamamoto over 10 years ago

  • Status changed from New to Resolved

Possibly fixed at 3.2rc.

#4

Updated by Firstname Lastname over 10 years ago

Confirmed. 3.2rc builds (and works) without the LDFLAGS workaround. Thank you very much!

#5

Updated by Hiroyuki Yamamoto over 10 years ago

  • Status changed from Resolved to Closed
  • Target version set to 3.2
#6

Updated by boddy massage 6 months ago

We are one of the best body massage service providers in bangalore. Call us for female to male full body massage. We are Offering professional full body massage in bangalore.

http://boddymsg.com/
http://boddymsg.com/services.html
http://boddymsg.com/contact.html
http://boddymsg.com/body_to_body_msg_bang.html
http://boddymsg.com/female_to_male_msg.html
http://boddymsg.com/spa_near_mebang.html
http://boddymsg.com/swedish_msg_bang.html
http://boddymsg.com/ban_msg_center.html
http://boddymsg.com/erotic_msg_bang.html
http://boddymsg.com/hot_stone_massage.html
http://boddymsg.com/full_body_msg.html
http://boddymsg.com/happy_ending_msg.html
http://boddymsg.com/ladies_parlour_me.html
http://boddymsg.com/deep_tissue_msg.html
http://boddymsg.com/female_to_male.html
http://boddymsg.com/body_msg.html
http://boddymsg.com/sensual_msg.html
http://boddymsg.com/body_to_body_spa_nearme.html
http://boddymsg.com/aromatherapy_msg_bang.html
http://boddymsg.com/thai_spa_near_me.html
http://boddymsg.com/nuru_msg_bangalore.html
http://boddymsg.com/msg_center_near_me_bangalore.html
http://boddymsg.com/couples_msg_bang.html
http://boddymsg.com/body_msg_spa_near_me.html
http://boddymsg.com/msg_par_near_me.html
http://boddymsg.com/carn_therapy.html
http://boddymsg.com/msg_spa_near_me.html
http://boddymsg.com/massage_spa.html
http://boddymsg.com/sarjapura.html
http://boddymsg.com/jigani.html
http://boddymsg.com/chandapura.html
http://boddymsg.com/anekal.html
http://boddymsg.com/attibele.html
http://boddymsg.com/madiwala.html
http://boddymsg.com/bommanahalli.html
http://boddymsg.com/yaswanthpur.html
http://boddymsg.com/yelahanka.html
http://boddymsg.com/mathikere.html
http://boddymsg.com/jalahalli.html
http://boddymsg.com/kammanahalli.html
http://boddymsg.com/ramamurthy_nagar.html
http://boddymsg.com/banaswadi.html
http://boddymsg.com/kalyan_nagar.html
http://boddymsg.com/bellundur.html
http://boddymsg.com/sadashivanagar.html
http://boddymsg.com/frazer_town.html
http://boddymsg.com/rajaji_nagar.html
http://boddymsg.com/malleshwaram.html
http://boddymsg.com/jaya_nagar.html
http://boddymsg.com/basavangudi.html
http://boddymsg.com/indira_nagar.html
http://boddymsg.com/KR_Market.html
http://boddymsg.com/KR_Puram.html
http://boddymsg.com/koramangala.html
http://boddymsg.com/marathahalli.html
http://boddymsg.com/bannerghatta_road.html
http://boddymsg.com/hebbal.html
http://boddymsg.com/JP_nagar.html
http://boddymsg.com/HSR_layout.html
http://boddymsg.com/lalbagh.html
http://boddymsg.com/electronic_city.html
http://boddymsg.com/whitfield.html
http://boddymsg.com/brookefield.html
http://boddymsg.com/banashankari.html
http://boddymsg.com/majestic.html
http://boddymsg.com/shivaji_nagar.html
http://boddymsg.com/victoria_layout.html
http://boddymsg.com/jayanagar.html
http://boddymsg.com/all_over_bangalore.html
http://boddymsg.com/bangalore.html
http://boddymsg.com/index.html
http://kamasutramsg.in/
http://kamasutramsg.in/index.html

#7

Updated by seo mind 5 days ago

Hi to everybody, here everyone is sharing such knowledge, so it’s fastidious to see this site, and I used to visit this blog daily "Scam Riskhttps://overonlyrisk.blogspot.com/2022/06/scam-risk-get-option-for-problems.html":

#8

Updated by seo mind 5 days ago

I don’t think many of websites provide this type of information. Scam Risk

#9

Updated by seo mind 5 days ago

Really appreciate this wonderful post that you have provided for us.Great site and a great topic as well i really get amazed to read this. Its really good. Scam Risk

#10

Updated by seo mind 5 days ago

Three are usually cheap Ralph Lauren available for sale each and every time you wish to buy. Scam Risk

#11

Updated by seo mind 5 days ago

This post is very simple to read and appreciate without leaving any details out. Great work! Scam Risk

#12

Updated by seo mind 5 days ago

I am overwhelmed by your post with such a nice topic. Usually I visit your blogs and get updated through the information you include but today’s blog would be the most appreciable. Well done! Scam Risk

#13

Updated by seo mind 5 days ago

This is really very nice post you shared, i like the post, thanks for sharing.. Scam Risk

#14

Updated by seo mind 5 days ago

Super site! I am Loving it!! Will return once more, Im taking your food likewise, Thanks. Scam Risk

#15

Updated by seo mind 5 days ago

I adore your websites way of raising the awareness on your readers. Scam Risk

#16

Updated by seo mind 5 days ago

Your content is nothing short of brilliant in many ways. I think this is engaging and eye-opening material. Thank you so much for caring about your content and your readers. Scam Risk

Also available in: Atom PDF