Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#46244 closed defect (fixed)

ffmpeg 2.5 +glp2 +glp3 +nonfree does not link. Problems with libsmbclient.

Reported by: AP1010 Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), bitpup
Port: ffmpeg

Description (last modified by mf2k (Frank Schima))

Upgrade of ffmpeg 2.4.4 +glp2 +glp3 +nonfree to ver. 2.5 fails with a bunch of linking errors (see below) pointing to samba. The port DOES BUILD if "--enable-libsmbclient" in Portfile is changed to " --disable-libsmbclient"

===========================================================

Undefined symbols for architecture x86_64:
  "_smbc_close", referenced from:
      _libsmbc_open in libsmbclient.o
      _libsmbc_close in libsmbclient.o
  "_smbc_free_context", referenced from:
      _libsmbc_open in libsmbclient.o
      _libsmbc_close in libsmbclient.o
  "_smbc_fstat", referenced from:
      _libsmbc_open in libsmbclient.o
  "_smbc_init", referenced from:
      _libsmbc_open in libsmbclient.o
  "_smbc_init_context", referenced from:
      _libsmbc_open in libsmbclient.o
  "_smbc_lseek", referenced from:
      _libsmbc_seek in libsmbclient.o
  "_smbc_new_context", referenced from:
      _libsmbc_open in libsmbclient.o
  "_smbc_open", referenced from:
      _libsmbc_open in libsmbclient.o
  "_smbc_read", referenced from:
      _libsmbc_read in libsmbclient.o
  "_smbc_setFunctionAuthDataWithContext", referenced from:
      _libsmbc_open in libsmbclient.o
  "_smbc_setOptionUserData", referenced from:
      _libsmbc_open in libsmbclient.o
  "_smbc_setTimeout", referenced from:
      _libsmbc_open in libsmbclient.o
  "_smbc_setWorkgroup", referenced from:
      _libsmbc_open in libsmbclient.o
  "_smbc_set_context", referenced from:
      _libsmbc_open in libsmbclient.o
  "_smbc_write", referenced from:
      _libsmbc_write in libsmbclient.o
ld: symbol(s) not found for architecture x86_64

Attachments (1)

main.log (2.7 MB) - added by AP1010 9 years ago.

Change History (8)

Changed 9 years ago by AP1010

Attachment: main.log added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: jeremyhu@… added; devans@… removed
Keywords: ffmpeg libsmbclient removed
Owner: changed from macports-tickets@… to devans@…
Port: ffmpeg added; ffmpeg-2.5 removed

In the future, please use WikiFormatting.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 9 years ago by dbevans (David B. Evans)

Status: newassigned

comment:4 Changed 9 years ago by bitpup

Cc: wheeltong@… added

Cc Me!

comment:5 Changed 9 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Confirmed, thanks for your ticket.
Temporary fix committed in r129568 which disables libsmbclient support when +gpl3 is selected. Will reenable when the underlying issue is identified and addressed.

comment:6 Changed 9 years ago by dbevans (David B. Evans)

This turns out to be a recently introduced regression that causes configure to ignore the libsmbclient CFLAGS and LDFLAGS. I have verified that it has been fixed in upstream git master and a new 2.5.1 release is underway this morning which will include the fix. libsmbclient support should be back with this new release in a day or so.

comment:7 Changed 9 years ago by dbevans (David B. Evans)

libsmbclient support re-enabled with upgrade to ffmpeg 2.5.1 in r129590.

Note: See TracTickets for help on using tickets.