--- magick/module.c.libs 2012-01-26 06:15:02.000000000 +0100 +++ magick/module.c 2012-01-26 06:15:52.000000000 +0100 @@ -72,7 +72,7 @@ Define declarations. */ #if defined(MAGICKCORE_LTDL_DELEGATE) -# define ModuleGlobExpression "*.la" +# define ModuleGlobExpression "*.so" #else # if defined(_DEBUG) # define ModuleGlobExpression "IM_MOD_DB_*.dll" @@ -1454,7 +1454,7 @@ (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",tag); assert(name != (char *) NULL); #if defined(MAGICKCORE_LTDL_DELEGATE) - (void) FormatLocaleString(name,MaxTextExtent,"%s.la",tag); + (void) FormatLocaleString(name,MaxTextExtent,"%s.so",tag); (void) LocaleLower(name); #else #if defined(MAGICKCORE_WINDOWS_SUPPORT) @@ -1505,7 +1505,7 @@ #if !defined(MAGICKCORE_LTDL_DELEGATE) (void) FormatLocaleString(name,MaxTextExtent,"%s.dll",tag); #else - (void) FormatLocaleString(name,MaxTextExtent,"%s.la",tag); + (void) FormatLocaleString(name,MaxTextExtent,"%s.so",tag); #endif }